xfs
[Top] [All Lists]

TAKE 962571 - xfs_dm_sync_by_handle is busted

To: xfs@xxxxxxxxxxx, sgi.bugs.xfs@xxxxxxxxxxxx
Subject: TAKE 962571 - xfs_dm_sync_by_handle is busted
From: dgc@xxxxxxx (David Chinner)
Date: Fri, 30 Mar 2007 16:41:58 +1000 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
xfs_dm_sync_by_handle does not sync file data.

xfs_dm_sync_by_handle() is supposed to behave like fsync.
When it returns the handle against which it was called is supposed
to be completely on stable storage. xfs_dm_sync_by_handle
syncs the inode but not the data. Make it sync hte data as well.

Date:  Fri Mar 30 16:41:20 AEST 2007
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  vapo

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:28329a
fs/xfs/dmapi/xfs_dm.c - 1.35 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/dmapi/xfs_dm.c.diff?r1=text&tr1=1.35&r2=text&tr2=1.34&f=h
        - sync data as well as the inode in xfs_dm_sync_by_handle().



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 962571 - xfs_dm_sync_by_handle is busted, David Chinner <=