From: David Chatterton <chatz@melbourne.sgi.com>
To: torvalds@osdl.org
Cc: akpm@osdl.org, xfs@oss.sgi.com, axboe@kernel.dk
Subject: XFS update for 2.6.18-rc6
Date: Thu, 07 Sep 2006 15:52:28 +1000 [thread overview]
Message-ID: <44FFB39C.3000700@melbourne.sgi.com> (raw)
Hi Linus,
Please pull from:
git://oss.sgi.com:8090/xfs/xfs-2.6
This will update the following files:
fs/xfs/linux-2.6/xfs_aops.c | 18 +++++++++++++-----
fs/xfs/linux-2.6/xfs_lrw.c | 27 ++++++++++++++++++++++-----
fs/xfs/quota/xfs_qm_bhv.c | 2 +-
fs/xfs/xfs_alloc.h | 20 ++++++++++++++++++++
fs/xfs/xfs_fsops.c | 16 ++++++++++------
fs/xfs/xfs_mount.c | 32 ++++++++------------------------
fs/xfs/xfs_vfsops.c | 3 ++-
7 files changed, 76 insertions(+), 42 deletions(-)
through these commits:
commit 4be536debe3f7b0c62283e77fd6bd8bdb9f83c6f
Author: David Chinner <dgc@sgi.com>
Date: Thu Sep 7 14:26:50 2006 +1000
[XFS] Prevent free space oversubscription and xfssyncd looping.
The fix for recent ENOSPC deadlocks introduced certain limitations on
allocations. The fix could cause xfssyncd to loop endlessly if we did not
leave some space free for the allocator to work correctly. Basically, we
needed to ensure that we had at least 4 blocks free for an AG free list
and a block for the inode bmap btree at all times.
However, this did not take into account the fact that each AG has a free
list that needs 4 blocks. Hence any filesystem with more than one AG could
cause oversubscription of free space and make xfssyncd spin forever trying
to allocate space needed for AG freelists that was not available in the
AG.
The following patch reserves space for the free lists in all AGs plus the
inode bmap btree which prevents oversubscription. It also prevents those
blocks from being reported as free space (as they can never be used) and
makes the SMP in-core superblock accounting code and the reserved block
ioctl respect this requirement.
SGI-PV: 955674
SGI-Modid: xfs-linux-melb:xfs-kern:26894a
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: David Chatterton <chatz@sgi.com>
commit 721259bce2851893155c6cb88a3f8ecb106b348c
Author: Lachlan McIlroy <lachlan@sgi.com>
Date: Thu Sep 7 14:27:05 2006 +1000
[XFS] Fix ABBA deadlock between i_mutex and iolock. Avoid calling
__blockdev_direct_IO for the DIO_OWN_LOCKING case for direct I/O reads
since it drops and reacquires the i_mutex while holding the iolock and
this violates the locking order.
SGI-PV: 955696
SGI-Modid: xfs-linux-melb:xfs-kern:26898a
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: David Chatterton <chatz@sgi.com>
commit 0a8d17d090a4939643a52194b7d4a4001b9b2d93
Author: David Chinner <dgc@sgi.com>
Date: Thu Sep 7 14:27:15 2006 +1000
[XFS] Fix xfs_splice_write() so appended data gets to disk.
xfs_splice_write() failed to update the on disk inode size when extending
the so when the file was closed the range extended by splice was truncated
off. Hence any region of a file written to by splice would end up as a
hole full of zeros.
SGI-PV: 955939
SGI-Modid: xfs-linux-melb:xfs-kern:26920a
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: David Chatterton <chatz@sgi.com>
commit 0edc7d0f3709e8c3bb7e69c4df614218a753361e
Author: Nathan Scott <nathans@sgi.com>
Date: Thu Sep 7 14:27:23 2006 +1000
[XFS] Fix a bad pointer dereference in the quota statvfs handling.
SGI-PV: 955993
SGI-Modid: xfs-linux-melb:xfs-kern:26934a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Signed-off-by: David Chatterton <chatz@sgi.com>
Thanks,
David
reply other threads:[~2006-09-07 6:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44FFB39C.3000700@melbourne.sgi.com \
--to=chatz@melbourne.sgi.com \
--cc=akpm@osdl.org \
--cc=axboe@kernel.dk \
--cc=torvalds@osdl.org \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox