]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: Refactor, add _dup_writing when cloning
authorAdam Kupczyk <akupczyk@redhat.com>
Sun, 27 Nov 2022 11:44:10 +0000 (11:44 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Thu, 11 May 2023 06:52:45 +0000 (06:52 +0000)
commit6213a94a83899bdc90d8aecaab410ba03b10b6eb
treed679ad39f94ee746c56fc6eb90b803422cb7aaed
parent9fe92069241c2ada3b65294e679fac59264495f7
os/bluestore: Refactor, add _dup_writing when cloning

With BufferSpace now attached to Blob (was SharedBlob inside it),
on-the-fly 'writing' buffers must be copied to clones.
Otherwise those objects will read data from disk before it is written there.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h