]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: prepopulate inodes only when request is aborted
authorSage Weil <sage@inktank.com>
Tue, 29 Jan 2013 07:55:31 +0000 (02:55 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Feb 2013 07:46:08 +0000 (02:46 -0500)
commit776b5733c52e979d3bd6064b01025dd1ff0b0730
tree455ace78657477d949e856575f39a23d4abf9ed3
parenteede18aa45c1e69eabaa5a935d853fb5ae3fd876
ceph: prepopulate inodes only when request is aborted

If r_aborted is true, we do not hold the dir i_mutex, and cannot touch
the dcache.  However, we still need to update the inodes with the state
returned by the MDS.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ceph/inode.c