commit | 082afec92d1052305af1195f591602f4d0f44277 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Sun Aug 22 15:16:41 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Sun Aug 22 15:16:41 2010 -0700 |
tree | 7012fc71ac7be7bd88f2b0d92f27a3ba46c354de | |
parent | f3c60c5918f26ea16761ddc8b12d8401a3db626b [diff] |
ceph: fix xattr cap writeback We should include the xattr metadata blob in the cap update message any time we are flushing dirty state, NOT just when we are also dropping the cap. This fixes async xattr writeback. Also, clean up the code slightly to avoid duplicating the bit test. Signed-off-by: Sage Weil <sage@newdream.net>