summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/windfarm_pid.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2009-10-06 20:29:28 +0000
committerAlex Elder <aelder@sgi.com>2009-10-08 12:01:03 -0500
commit69961a26b82931601e07c9e3656bd90c598f2395 (patch)
tree0798e1feac2cebe0327affef4a63bdf6fd11ff02 /drivers/macintosh/windfarm_pid.h
parentc90b07e8dd9f263d2e2af1d9648ba269f4d0d8fd (diff)
downloadblackbird-op-linux-69961a26b82931601e07c9e3656bd90c598f2395.tar.gz
blackbird-op-linux-69961a26b82931601e07c9e3656bd90c598f2395.zip
xfs: cleanup ->sync_fs
Sort out ->sync_fs to not perform a superblock writeback for the wait = 0 case as that is just an optional first pass and the superblock will be written back properly in the next call with wait = 1. Instead perform an opportunistic quota writeback to have less work later. Also remove the freeze special case as we do a proper wait = 1 call in the freeze code anyway. Also rename the function to xfs_fs_sync_fs to match the normal naming convention, update comments and avoid calling into the laptop_mode logic on an error. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Alex Elder <aelder@sgi.com> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'drivers/macintosh/windfarm_pid.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud