xfs: use unhashed buffers for size checks
authorDave Chinner <dchinner@redhat.com>
Wed, 22 Sep 2010 00:47:20 +0000 (10:47 +1000)
committerAlex Elder <aelder@sgi.com>
Mon, 18 Oct 2010 20:07:50 +0000 (15:07 -0500)
commit1922c949c59f93beb560d59874bcc6d5c00115ac
treef680f7cc4a36f9233f2c54c473a69a658ea9e224
parent26af655233dd486659235f3049959d2f7dafc5a1
xfs: use unhashed buffers for size checks

When we are checking we can access the last block of each device, we
do not need to use cached buffers as they will be tossed away
immediately. Use uncached buffers for size checks so that all IO
prior to full in-memory structure initialisation does not use the
buffer cache.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_fsops.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_rtalloc.c