Thread (19 messages) 19 messages, 6 authors, 2013-12-11

Re: Filesystem writes on RAID5 too slow

From: Christoph Hellwig <hch@infradead.org>
Date: 2013-12-10 19:18:03
Also in: linux-ext4, linux-xfs

xfs: align initial file allocations correctly.

From: Dave Chinner <redacted>

The function xfs_bmap_isaeof() is used to indicate that an
allocation is occurring at or past the end of file, and as such
should be aligned to the underlying storage geometry if possible.

Commit 27a3f8f ("xfs: introduce xfs_bmap_last_extent") changed the
behaviour of this function for empty files - it turned off
allocation alignment for this case accidentally. Hence large initial
allocations from direct IO are not getting correctly aligned to the
underlying geometry, and that is cause write performance to drop in
alignment sensitive configurations.

Fix it by considering allocation into empty files as requiring
aligned allocation again.
Seems like this one didn't get picked up yet?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help