Hi Linus,
A bug fix for a regression which went in rc-1
for the NULL files problem.
Please pull from the for-linus branch:
git pull git://oss.sgi.com:8090/xfs/xfs-2.6 for-linus
This will update the following files:
fs/xfs/linux-2.6/xfs_aops.c | 26 +++++++++++++++++---------
1 files changed, 17 insertions(+), 9 deletions(-)
through these commits:
commit df3c7244264f1d12562413aa32d56be802486516
Author: David Chinner <dgc@xxxxxxx>
Date: Thu May 24 15:27:03 2007 +1000
[XFS] Write at EOF may not update filesize correctly.
The recent fix for preventing NULL files from being left around does not
update the file size corectly in all cases. The missing case is a write
extending the file that does not need to allocate a block.
In that case we used a read mapping of the extent which forced the use of
the read I/O completion handler instead of the write I/O completion
handle. Hence the file size was not updated on I/O completion.
SGI-PV: 965068
SGI-Modid: xfs-linux-melb:xfs-kern:28657a
Signed-off-by: David Chinner <dgc@xxxxxxx>
Signed-off-by: Nathan Scott <nscott@xxxxxxxxxx>
Signed-off-by: Tim Shimmin <tes@xxxxxxx>
|