]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: replace i_pin_wait with a bit waitqueue
authorChristoph Hellwig <hch@infradead.org>
Sun, 18 Dec 2011 20:00:10 +0000 (20:00 +0000)
committerBen Myers <bpm@sgi.com>
Tue, 17 Jan 2012 21:07:54 +0000 (15:07 -0600)
commit8eaf9b1ae20ae27b67a1075b55df640e06f608ad
tree6cf97bebb841da303056b60da087e76cc087af9b
parent39955569c748f0602dae4b85ba92d9314af0c368
xfs: replace i_pin_wait with a bit waitqueue

Replace i_pin_wait, which is only used during synchronous inode flushing
with a bit waitqueue.  This trades off a much smaller inode against
slightly slower wakeup performance, and saves 12 (32-bit) or 20 (64-bit)
bytes in the XFS inode.

Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_super.c