Mike Snitzer c4a69ecdb4 dm thin: relax hard limit on the maximum size of a metadata device
The thin metadata format can only make use of a device that is <=
THIN_METADATA_MAX_SECTORS (currently 15.9375 GB).  Therefore, there is no
practical benefit to using a larger device.

However, it may be that other factors impose a certain granularity for
the space that is allocated to a device (E.g. lvm2 can impose a coarse
granularity through the use of large, >= 1 GB, physical extents).

Rather than reject a larger metadata device, during thin-pool device
construction, switch to allowing it but issue a warning if a device
larger than THIN_METADATA_MAX_SECTORS_WARNING (16 GB) is
provided.  Any space over 15.9375 GB will not be used.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2012-03-28 18:41:28 +01:00
..
2012-03-08 10:50:35 -08:00
2012-03-21 10:37:25 -07:00
2012-03-14 09:48:16 +01:00
2012-03-22 20:16:14 -07:00
2012-03-17 01:41:43 -07:00
2012-03-21 10:34:56 -07:00
2012-03-22 12:55:29 -07:00
2012-03-21 10:32:00 -07:00
2012-03-22 20:25:50 -07:00
2012-03-22 20:43:40 -07:00
2012-03-22 20:16:14 -07:00