]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: drop unnecessary transaction cleanup
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 8 Mar 2016 01:18:56 +0000 (09:18 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 23 Mar 2016 00:43:24 +0000 (08:43 +0800)
commit88aa26dc203c3e9396d84a4fd89fc9b64bb38929
tree3f1c2a407421ad8b833e17423be5c67365ae8a45
parent135d5fe1d2b4cf88a270f24760df1db15313e5c3
osd: drop unnecessary transaction cleanup

The lock() method will ensure 'dirty_info' will be false,
and within this function's scope I see no possibility to
set 'dirty_info' true. Thus I guess the transaction cleanup
logic before exit is never reachable and therefore shall be
considered as redundant and can be safely removed.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PG.cc