Dave Chinner
4ce159890c
xfs: prevent extsize alignment from exceeding maximum extent size
...
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>
2011-01-28 09:05:36 -06:00
..
2011-01-17 02:25:31 -05:00
2010-12-21 12:09:01 +11:00
2011-01-17 12:39:07 -08:00
2010-10-05 12:16:37 +02:00
2011-01-11 20:28:29 -06:00
2011-01-07 17:50:29 +11:00
2010-12-16 17:08:41 +11:00
2010-10-18 15:07:38 -05:00
2011-01-11 20:28:29 -06:00
2011-01-28 09:05:35 -06:00
2010-12-23 11:57:37 +11:00
2010-10-18 15:08:07 -05:00
2010-07-26 13:16:33 -05:00
2011-01-28 09:05:36 -06:00
2010-12-01 07:40:19 -06:00
2010-12-02 16:31:13 +11:00
2010-10-18 15:07:38 -05:00
2011-01-28 09:01:33 -06:00
2010-12-16 16:05:22 -06:00
2010-10-18 15:08:07 -05:00
2010-12-01 07:40:20 -06:00
2010-10-18 15:08:08 -05:00
2010-07-26 13:16:51 -05:00
2010-07-26 13:16:33 -05:00
2010-10-18 15:08:07 -05:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:44 -05:00
2011-01-12 08:46:41 -06:00
2011-01-12 08:46:41 -06:00
2011-01-28 09:01:33 -06:00
2010-12-20 11:59:49 +11:00
2010-11-10 12:00:48 -06:00
2010-07-26 13:16:51 -05:00
2010-10-18 15:08:08 -05:00
2011-01-11 20:28:17 -06:00
2011-01-11 20:28:17 -06:00
2010-10-18 15:07:38 -05:00
2010-10-18 15:08:07 -05:00
2011-01-10 21:35:55 -06:00
2010-12-20 12:03:17 +11:00
2010-07-26 13:16:36 -05:00
2010-12-02 16:31:13 +11:00
2010-12-23 12:02:31 +11:00
2011-01-28 09:05:35 -06:00
2010-12-16 16:05:51 -06:00
2010-10-18 15:08:08 -05:00
2010-06-24 11:35:17 +10:00
2011-01-27 12:02:00 +11:00
2010-12-21 12:29:14 +11:00
2011-01-12 08:46:41 -06:00
2010-05-24 10:33:39 -05:00
2011-01-12 08:46:41 -06:00
2010-07-26 13:16:38 -05:00
2010-12-16 17:08:41 +11:00
2011-01-04 11:35:03 +11:00
2010-12-15 10:56:11 +01:00
2010-11-10 12:00:48 -06:00
2010-12-09 17:07:02 -06:00
2010-10-18 15:07:50 -05:00
2010-05-28 14:58:24 -05:00
2010-07-26 13:16:33 -05:00
2010-10-18 15:08:08 -05:00
2010-12-20 12:36:15 +11:00
2010-10-18 15:08:07 -05:00
2010-12-20 11:59:49 +11:00
2010-10-18 15:07:45 -05:00
2010-12-20 12:36:15 +11:00
2011-01-28 09:01:33 -06:00
2010-12-02 16:31:13 +11:00
2010-10-18 15:08:08 -05:00
2010-10-18 15:08:06 -05:00
2010-10-18 15:08:06 -05:00
2010-12-23 12:02:31 +11:00
2010-10-18 15:08:06 -05:00