Fix a race in xfs_submit_ioend() where we can be completing I/O
for a page while we are still submitting other buffers on the
same page for I/O.
Date: Tue Jan 17 14:18:01 AEDT 2006
Workarea: chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by: nathans
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:25004a
fs/xfs/linux-2.6/xfs_aops.c - 1.112 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_aops.c.diff?r1=text&tr1=1.112&r2=text&tr2=1.111&f=h
- Start writeback on all buffers in the ioend list before we start
submitting
them so that a page will not be completed until all buffers on it are
done.
|