aboutsummaryrefslogtreecommitdiff
path: root/fs/efs
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2007-05-14 18:24:09 +1000
committerTim Shimmin <tes@chook.melbourne.sgi.com>2007-07-14 15:22:18 +1000
commit40095b64f5da601a8ab61fbe4b40feb46830052e (patch)
tree114402c9280f5677bf1d47f4a933847912e3c314 /fs/efs
parent4cc929ee305c69573cb842aade059dbe2a93940c (diff)
[XFS] Sleeping with the ilock waiting for I/O completion is Bad.
Recent fixes to the filesystem freezing code introduced a vn_iowait call in the middle of the sync code. Unfortunately, at the point where this call was added we are holding the ilock. The ilock is needed by I/O completion for unwritten extent conversion and now updating the file size. Hence I/o cannot complete if we hold the ilock while waiting for I/O completion. Fix up the bug and clean the code up around it. SGI-PV: 963674 SGI-Modid: xfs-linux-melb:xfs-kern:28566a Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/efs')
0 files changed, 0 insertions, 0 deletions