]> 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)
commit2ec286e83b30df0d921c5cfd112be4833b11acc6
tree455ace78657477d949e856575f39a23d4abf9ed3
parentafd2e6fb49756bd9faf33cc66647ee2cbab9b4ff
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