diff options
author | Abhijith Das <adas@redhat.com> | 2007-06-11 08:22:32 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-07-09 08:23:36 +0100 |
commit | d93cfa9884354dac2d8ccd894594a43e0b962b6f (patch) | |
tree | 72704d54aaa99e0021d3cc0b025fb8c67b09e4ce /fs/readdir.c | |
parent | a7a2ff8a951ab373732116e7c31e2e1fe025d5e0 (diff) |
[GFS2] Fix deallocation issues
There were two issues during deallocation of unlinked inodes. The
first was relating to the use of a "try" lock which in the case of
the inode lock wasn't trying hard enough to deallocate in all
circumstances (now changed to a normal glock) and in the case of
the iopen lock didn't wait for the demotion of the shared lock before
attempting to get the exclusive lock, and thereby sometimes (timing dependent)
not completing the deallocation when it should have done.
The second issue related to the lack of a way to invalidate dcache entries
on remote nodes (now fixed by this patch) which meant that unlinks were
taking a long time to return disk space to the fs. By adding some code to
invalidate the dcache entries across the cluster for unlinked inodes, that
is now fixed.
This patch was written jointly by Abhijith Das and Steven Whitehouse.
Signed-off-by: Abhijith Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions