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 |
---|---|---|
Makefile | -rw-r--r-- | 231 bytes |
af_netrom.c | -rw-r--r-- | 32.8 KB |
nr_dev.c | -rw-r--r-- | 4.3 KB |
nr_in.c | -rw-r--r-- | 7.0 KB |
nr_loopback.c | -rw-r--r-- | 1.8 KB |
nr_out.c | -rw-r--r-- | 5.9 KB |
nr_route.c | -rw-r--r-- | 23.1 KB |
nr_subr.c | -rw-r--r-- | 6.1 KB |
nr_timer.c | -rw-r--r-- | 5.3 KB |
sysctl_net_netrom.c | -rw-r--r-- | 4.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...