Re: [RESEND PATCH] block: do not artificially constrain max_sectors for stacking drivers

2012-08-01 Thread Jens Axboe
On 08/01/2012 02:39 AM, Mike Snitzer wrote: > blk_set_stacking_limits is intended to allow stacking drivers to build > up the limits of the stacked device based on the underlying devices' > limits. But defaulting 'max_sectors' to BLK_DEF_MAX_SECTORS (1024) > doesn't allow the stacking driver to

Re: [RESEND PATCH] block: do not artificially constrain max_sectors for stacking drivers

2012-08-01 Thread Jens Axboe
On 08/01/2012 02:39 AM, Mike Snitzer wrote: blk_set_stacking_limits is intended to allow stacking drivers to build up the limits of the stacked device based on the underlying devices' limits. But defaulting 'max_sectors' to BLK_DEF_MAX_SECTORS (1024) doesn't allow the stacking driver to

[RESEND PATCH] block: do not artificially constrain max_sectors for stacking drivers

2012-07-31 Thread Mike Snitzer
blk_set_stacking_limits is intended to allow stacking drivers to build up the limits of the stacked device based on the underlying devices' limits. But defaulting 'max_sectors' to BLK_DEF_MAX_SECTORS (1024) doesn't allow the stacking driver to inherit a max_sectors larger than 1024 -- due to

[RESEND PATCH] block: do not artificially constrain max_sectors for stacking drivers

2012-07-31 Thread Mike Snitzer
blk_set_stacking_limits is intended to allow stacking drivers to build up the limits of the stacked device based on the underlying devices' limits. But defaulting 'max_sectors' to BLK_DEF_MAX_SECTORS (1024) doesn't allow the stacking driver to inherit a max_sectors larger than 1024 -- due to