Revision 4ce159890c00e2cc705e955a939bf1dca7b07ab8 authored by Dave Chinner on 27 January 2011, 01:17:58 UTC, committed by Alex Elder on 28 January 2011, 15:05:36 UTC
When doing delayed allocation, if the allocation size is for a maximally sized extent, extent size alignment can push it over this limit. This results in an assert failure in xfs_bmbt_set_allf() as the extent length is too large to find in the extent record. Fix this by ensuring that we allow for space that extent size alignment requires (up to 2 * (extsize -1) blocks as we have to handle both head and tail alignment) when limiting the maximum size of the extent. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Alex Elder <aelder@sgi.com>
1 parent 14b064c
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.4 KB |
Makefile | -rw-r--r-- | 310 bytes |
addr.c | -rw-r--r-- | 3.4 KB |
addr.h | -rw-r--r-- | 2.6 KB |
bcast.c | -rw-r--r-- | 22.6 KB |
bcast.h | -rw-r--r-- | 3.5 KB |
bearer.c | -rw-r--r-- | 17.0 KB |
bearer.h | -rw-r--r-- | 7.9 KB |
config.c | -rw-r--r-- | 15.3 KB |
config.h | -rw-r--r-- | 2.8 KB |
core.c | -rw-r--r-- | 5.4 KB |
core.h | -rw-r--r-- | 8.1 KB |
discover.c | -rw-r--r-- | 8.9 KB |
discover.h | -rw-r--r-- | 2.2 KB |
eth_media.c | -rw-r--r-- | 8.7 KB |
handler.c | -rw-r--r-- | 4.0 KB |
link.c | -rw-r--r-- | 77.6 KB |
link.h | -rw-r--r-- | 10.1 KB |
log.c | -rw-r--r-- | 9.7 KB |
log.h | -rw-r--r-- | 2.6 KB |
msg.c | -rw-r--r-- | 11.3 KB |
msg.h | -rw-r--r-- | 20.2 KB |
name_distr.c | -rw-r--r-- | 8.9 KB |
name_distr.h | -rw-r--r-- | 2.1 KB |
name_table.c | -rw-r--r-- | 26.0 KB |
name_table.h | -rw-r--r-- | 4.1 KB |
net.c | -rw-r--r-- | 8.3 KB |
net.h | -rw-r--r-- | 2.3 KB |
netlink.c | -rw-r--r-- | 3.4 KB |
node.c | -rw-r--r-- | 13.9 KB |
node.h | -rw-r--r-- | 4.7 KB |
node_subscr.c | -rw-r--r-- | 2.8 KB |
node_subscr.h | -rw-r--r-- | 2.6 KB |
port.c | -rw-r--r-- | 32.6 KB |
port.h | -rw-r--r-- | 10.1 KB |
ref.c | -rw-r--r-- | 8.4 KB |
ref.h | -rw-r--r-- | 2.1 KB |
socket.c | -rw-r--r-- | 45.6 KB |
subscr.c | -rw-r--r-- | 15.7 KB |
subscr.h | -rw-r--r-- | 3.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...