xfs: always use iget in bulkstat
commit42ea054affa914cec030564d6fe567a271816fb0
authorChristoph Hellwig <hch@lst.de>
Mon, 10 Jan 2011 22:28:36 +0000 (10 15:28 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Mar 2011 14:46:46 +0000 (2 09:46 -0500)
tree4689cc08cf7b889f66da4995a656187832f06319
parent63d059e73ff4574b79bd8aa252b5fc00b6326ddf
xfs: always use iget in bulkstat

Upstream commit: 7dce11dbac54fce777eea0f5fb25b2694ccd7900

The non-coherent bulkstat versionsthat look directly at the inode
buffers causes various problems with performance optimizations that
make increased use of just logging inodes.  This patch makes bulkstat
always use iget, which should be fast enough for normal use with the
radix-tree based inode cache introduced a while ago.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
[dannf: backported to 2.6.32.y]
Cc: dann frazier <dannf@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/xfs/linux-2.6/xfs_ioctl.c
fs/xfs/linux-2.6/xfs_ioctl32.c
fs/xfs/quota/xfs_qm.c
fs/xfs/quota/xfs_qm_syscalls.c
fs/xfs/xfs_itable.c
fs/xfs/xfs_itable.h