[XFS] kill superflous buffer locking (2nd attempt)
authorChristoph Hellwig <hch@infradead.org>
Fri, 7 Dec 2007 03:07:08 +0000 (14:07 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 7 Feb 2008 07:18:50 +0000 (18:18 +1100)
commita9759f2de38a3443d5107bddde03b4f3f550060e
tree3a61d9818f5e457bc073958363a3136ac229f532
parent40ebd81d1a7635cf92a59c387a599fce4863206b
[XFS] kill superflous buffer locking (2nd attempt)

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:30156a

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