diff options
author | David Chinner <dgc@sgi.com> | 2007-05-14 08:24:09 (GMT) |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-07-14 05:22:18 (GMT) |
commit | 40095b64f5da601a8ab61fbe4b40feb46830052e (patch) | |
tree | 114402c9280f5677bf1d47f4a933847912e3c314 /include/asm-i386/pgalloc.h | |
parent | 4cc929ee305c69573cb842aade059dbe2a93940c (diff) | |
download | linux-fsl-qoriq-40095b64f5da601a8ab61fbe4b40feb46830052e.tar.xz |
[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 'include/asm-i386/pgalloc.h')
0 files changed, 0 insertions, 0 deletions