5b1daecd59
Previously, if the MDS request was interrupted, we would unregister the request and ignore any reply. This could cause the caps or other cache state to become out of sync. (For instance, aborting dbench and doing rm -r on clients would complain about a non-empty directory because the client didn't realize it's aborted file create request completed.) Even we don't unregister, we still can't process the reply normally because we are no longer holding the caller's locks (like the dir i_mutex). So, mark aborted operations with r_aborted, and in the reply handler, be sure to process all the caps. Do not process the namespace changes, though, since we no longer will hold the dir i_mutex. The dentry lease state can also be ignored as it's more forgiving. Signed-off-by: Sage Weil <sage@newdream.net> |
||
---|---|---|
.. | ||
crush | ||
addr.c | ||
auth_none.c | ||
auth_none.h | ||
auth.c | ||
auth.h | ||
buffer.c | ||
buffer.h | ||
caps.c | ||
ceph_debug.h | ||
ceph_frag.c | ||
ceph_frag.h | ||
ceph_fs.c | ||
ceph_fs.h | ||
ceph_hash.c | ||
ceph_hash.h | ||
ceph_strings.c | ||
debugfs.c | ||
decode.h | ||
dir.c | ||
export.c | ||
file.c | ||
inode.c | ||
ioctl.c | ||
ioctl.h | ||
Kconfig | ||
Makefile | ||
mds_client.c | ||
mds_client.h | ||
mdsmap.c | ||
mdsmap.h | ||
messenger.c | ||
messenger.h | ||
mon_client.c | ||
mon_client.h | ||
msgpool.c | ||
msgpool.h | ||
msgr.h | ||
osd_client.c | ||
osd_client.h | ||
osdmap.c | ||
osdmap.h | ||
pagelist.c | ||
pagelist.h | ||
rados.h | ||
README | ||
snap.c | ||
super.c | ||
super.h | ||
types.h | ||
xattr.c |
# # The following files are shared by (and manually synchronized # between) the Ceph userland and kernel client. # # userland kernel src/include/ceph_fs.h fs/ceph/ceph_fs.h src/include/ceph_fs.cc fs/ceph/ceph_fs.c src/include/msgr.h fs/ceph/msgr.h src/include/rados.h fs/ceph/rados.h src/include/ceph_strings.cc fs/ceph/ceph_strings.c src/include/ceph_frag.h fs/ceph/ceph_frag.h src/include/ceph_frag.cc fs/ceph/ceph_frag.c src/include/ceph_hash.h fs/ceph/ceph_hash.h src/include/ceph_hash.cc fs/ceph/ceph_hash.c src/crush/crush.c fs/ceph/crush/crush.c src/crush/crush.h fs/ceph/crush/crush.h src/crush/mapper.c fs/ceph/crush/mapper.c src/crush/mapper.h fs/ceph/crush/mapper.h src/crush/hash.h fs/ceph/crush/hash.h src/crush/hash.c fs/ceph/crush/hash.c