]> git.baikalelectronics.ru Git - kernel.git/commit
[XFS] kill superflous buffer locking
authorChristoph Hellwig <hch@infradead.org>
Fri, 12 Oct 2007 01:12:39 +0000 (11:12 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 7 Feb 2008 07:12:07 +0000 (18:12 +1100)
commit44f684c8af3f1e4d2943baa05bd03659b2d622c3
tree047b725cf7347e4111b65edd532cf9b1ee8010d1
parentc133152b5388c421c30829e2de533a55fe70827d
[XFS] kill superflous buffer locking

There is no need to lock any page in xfs_buf.c because we operate on our
own address_space and all locking is covered by the buffer semaphore. If
we ever switch back to main blockdeive address_space as suggested e.g. for
fsblock with a similar scheme the locking will have to be totally revised
anyway because the current scheme is neither correct nor coherent with
itself.

SGI-PV: 971186
SGI-Modid: xfs-linux-melb:xfs-kern:29845a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_buf.c
fs/xfs/linux-2.6/xfs_buf.h