diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-06-02 09:14:54 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-06-27 09:39:37 +0100 |
commit | 01b7c7ae88a6376c508b35a22bb61e04cb1b37f0 (patch) | |
tree | 01276b4382270285375540682d1eddf2a167103d /fs/readdir.c | |
parent | 80274737220f8c5ea75696dde4c5c7feba39456f (diff) | |
download | op-kernel-dev-01b7c7ae88a6376c508b35a22bb61e04cb1b37f0.zip op-kernel-dev-01b7c7ae88a6376c508b35a22bb61e04cb1b37f0.tar.gz |
[GFS2] Revise readpage locking
The previous attempt to fix the locking in readpage failed due
to the use of a "try lock" which resulted in occasional high
cpu usage during testing (due to repeated tries) and also it
did not resolve all the ordering problems wrt the transaction
lock (although it did solve all the inode lock ordering problems).
This patch avoids the problem by unlocking the page and getting the
locks in the correct order. This means that we have to retest the
page to ensure that it hasn't changed when we relock the page.
This now passes the tests which were previously failing.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions