]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os: add a field indicate xattr only one chunk for set xattr. 6244/head
authorJianpeng Ma <jianpeng.ma@intel.com>
Tue, 13 Oct 2015 06:32:48 +0000 (14:32 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Tue, 13 Oct 2015 06:32:48 +0000 (14:32 +0800)
commit303263dd967ccc9104e80b962d3a0fa103c1d035
tree254cbf257ea085153ba34aa56dc392d458d7dea5
parentf1d2d08ddd0c8415cc77e7351512bdd1cd417a41
os: add a field indicate xattr only one chunk for set xattr.

Because the limit of osd backend, we split xattr into a lot of small
pieces. When set xatt, it should remove the old pieces.
But for some xattr especially for inline xattr, we know it only
one chunk. So it can skip this remove operation.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/os/FileStore.cc
src/os/IndexManager.cc
src/os/chain_xattr.cc
src/os/chain_xattr.h