]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd: copy ObjectOperation::BufferUpdate::Write::fadvise_flag to ceph::os::Transaction
authorXuehan Xu <xxhdx1985126@163.com>
Wed, 28 Aug 2019 08:01:44 +0000 (16:01 +0800)
committerXuehan Xu <xxhdx1985126@163.com>
Wed, 28 Aug 2019 12:18:24 +0000 (20:18 +0800)
Fixes: https://tracker.ceph.com/issues/41550
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
src/osd/ReplicatedBackend.cc

index 02e2c48408086302c747c7638887b93051fa4955..f4d19f7ecfb70acc2ea74c74871f216359072ca7 100644 (file)
@@ -406,7 +406,8 @@ void generate_transaction(
              goid,
              extent.get_off(),
              extent.get_len(),
-             op.buffer);
+             op.buffer,
+             op.fadvise_flags);
          },
          [&](const BufferUpdate::Zero &op) {
            t->zero(