[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TAKE - more sync changes (one of two)



clean up the flush logic some more, make the inode flush path less
lossy since we now depend on it. Add a sync_fs callout which waits
for flush to be done.

The followup fix to this is going to really make a difference,
this one is mostly cleanup.


Date:  Wed Aug  6 13:55:24 PDT 2003
Workarea:  jen.americas.sgi.com:/src/lord/xfs-linux.2.4

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs


Modid:  xfs-linux:slinx:155186a
linux/fs/xfs/xfs_vnodeops.c - 1.599
	- in the write_inode path, try harder to get locks on the inode

linux/fs/xfs/xfs_vfsops.c - 1.427
	- in the sync path, when forcing the log out to disk to cover
	  an old log, pay attention to the sync options used.

linux/fs/xfs/linux/xfs_super.c - 1.266
	- add sync_fs call