]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: fix unordered read bug (for chunked object)
authormyoungwon oh <omwmw@sk.com>
Wed, 13 Dec 2017 04:38:39 +0000 (13:38 +0900)
committermyoungwon oh <omwmw@sk.com>
Wed, 13 Dec 2017 06:48:33 +0000 (15:48 +0900)
commitd70b71aa2f87013975d7fee16be549bf24944b72
tree6c1ef61dbaf35bfd202ccb46835b7f652d0849fc
parent89c876d1b6dc6ab7799e595cb8387167c3ca7659
osd: fix unordered read bug (for chunked object)

The current implementation for chunked object only supports
proxy_read(if offset is within range) and write(local write)
In this case, a read request can be handled before a write request.
This commit prevents unordered read processing because
proxy_read() will be executed if the chunk is missing state.
If chunked object has been overwritten, its state will not be missing.

Fixes: http://tracker.ceph.com/issues/22369
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
src/osd/PrimaryLogPG.cc