From: Jianpeng Ma Date: Mon, 22 Dec 2014 12:50:50 +0000 (+0800) Subject: objectstore: add fadvise_flags operations in X-Git-Tag: v0.92~108^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F3234%2Fhead;p=ceph.git objectstore: add fadvise_flags operations in ObjectStore::Transaction::append func. Signed-off-by: Jianpeng Ma --- diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h index 4f681e89a40..0c26c4844f5 100644 --- a/src/os/ObjectStore.h +++ b/src/os/ObjectStore.h @@ -487,6 +487,7 @@ public: largest_data_off = other.largest_data_off; largest_data_off_in_tbl = tbl.length() + other.largest_data_off_in_tbl; } + fadvise_flags |= other.fadvise_flags; tbl.append(other.tbl); on_applied.splice(on_applied.end(), other.on_applied); on_commit.splice(on_commit.end(), other.on_commit);