diff options
author | Peter Leckie <[email protected]> | 2008-10-30 17:05:04 +1100 |
---|---|---|
committer | Lachlan McIlroy <[email protected]> | 2008-10-30 17:05:04 +1100 |
commit | bc3048e3cd3806ccfd5b16b1a30e5d6013abbd3d (patch) | |
tree | c6e27010cb66cc52f41bc696def885cb672fb61f /fs/stack.c | |
parent | d112f2984592acb774187b3adddc107fb0825500 (diff) |
[XFS] Clean up dquot pincount code.
This is a code cleanup and optimization that removes a per mount point
spinlock from the quota code and cleans up the code.
The patch changes the pincount from being an int protected by a spinlock
to an atomic_t allowing the pincount to be manipulated without holding the
spinlock.
This cleanup also protects against random wakup's of both the aild and
xfssyncd by reevaluating the pincount after been woken. Two latter patches
will address the Spurious wakeups.
SGI-PV: 986789
SGI-Modid: xfs-linux-melb:xfs-kern:32215a
Signed-off-by: Peter Leckie <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: David Chinner <[email protected]>
Signed-off-by: Donald Douwsma <[email protected]>
Signed-off-by: Lachlan McIlroy <[email protected]>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions