Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: reorganize rounding of max_discard_sectors
Mostly a preparation for the next patch. In principle this fixes an infinite loop if max_discard_sectors < granularity, but that really shouldn't happen. Signed-off-by: Paolo Bonzini <[email protected]> Acked-by: Vivek Goyal <[email protected]> Tested-by: Mike Snitzer <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information