]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
in filestore, OP_SETATTR is implemented in FileStore::_setattrs 5580/head
authorxinxin shu <xinxin.shu@intel.com>
Sun, 16 Aug 2015 01:12:56 +0000 (09:12 +0800)
committerxinxin shu <xinxin.shu@intel.com>
Mon, 31 Aug 2015 10:21:32 +0000 (18:21 +0800)
commitfe8b1c977fb8df5af81ee0368ebd199b6e8ea65f
treed35eba48773cb06e9c4d86d50eba81b87f71e11f
parent6dc9ed581441aade22750d1eb541cdbeddeb37d2
in filestore, OP_SETATTR is implemented in FileStore::_setattrs

this funtion will get all attrs of object before setting new attrs

merge several OP_SETATTR ops into one OP_SETATTRS in one ceph trasaction, which will reduce counts of getting all attrs

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h