summaryrefslogtreecommitdiffstats
path: root/fs/ceph/addr.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-04-29 01:12:06 +0200
committerSage Weil <sage@newdream.net>2010-05-03 19:49:25 +0200
commitea1409f96197c1bffe5d7d5bc967b3445edcc1fa (patch)
treecbbd8ed4cca9bb718a596277f1152f2f1d629c37 /fs/ceph/addr.c
parentceph: fix direct io truncate offset (diff)
downloadlinux-ea1409f96197c1bffe5d7d5bc967b3445edcc1fa.tar.xz
linux-ea1409f96197c1bffe5d7d5bc967b3445edcc1fa.zip
ceph: clear dir complete, invalidate dentry on replayed rename
If a rename operation is resent to the MDS following an MDS restart, the client does not get a full reply (containing the resulting metadata) back. In that case, a ceph_rename() needs to compensate by doing anything useful that fill_inode() would have, like d_move(). It also needs to invalidate the dentry (to workaround the vfs_rename_dir() bug) and clear the dir complete flag, just like fill_trace(). Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/addr.c')
0 files changed, 0 insertions, 0 deletions