diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-10-11 19:14:09 +0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-10-11 20:02:48 +0400 |
commit | 17b38471c3c07a49f0bbc2ecc2e92050c164e226 (patch) | |
tree | 163e112a5736240efc29dab83d0603c931dff98f /fs/xfs/xfs_linux.h | |
parent | bc6e588a8971aa74c02e42db4d6e0248679f3738 (diff) | |
download | linux-17b38471c3c07a49f0bbc2ecc2e92050c164e226.tar.xz |
xfs: force the log if we encounter pinned buffers in .iop_pushbuf
We need to check for pinned buffers even in .iop_pushbuf given that inode
items flush into the same buffers that may be pinned directly due operations
on the unlinked inode list operating directly on buffers. To do this add a
return value to .iop_pushbuf that tells the AIL push about this and use
the existing log force mechanisms to unpin it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Stefan Priebe <s.priebe@profihost.ag>
Tested-by: Stefan Priebe <s.priebe@profihost.ag>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_linux.h')
0 files changed, 0 insertions, 0 deletions