Date: Mon Nov 5 11:02:06 PST 2001
Workarea: clink-eth.americas.sgi.com:/data/clink/a67/roehrich/2.4.x-xfs
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:106094a
linux/fs/xfs/linux/xfs_lrw.c - 1.116
- When CONFIG_XFS_DMAPI is set we can get into an infinite loop in
xfs_write on
the "goto start". Once savedsize is determined to be out of date we
never
update it for subsequent passes (a porting bug), so we stay in the
loop. This
check shouldn't be performed unless we're calling
xfs_dm_send_data_event
anyway, so move it into that if-block. Now we don't have to update
savedsize
because we get into that if-block only once per call to xfs_write, and
savedsize has no other purpose.
|