On 4/14/22 21:52, Christoph Hellwig wrote: > Add a helper to query the number of sectors support per each discard bio > based on the block device and use this helper to stop various places from > poking into the request_queue to see if discard is supported and if so how > much. This mirrors what is done e.g. for write zeroes as well. > > Signed-off-by: Christoph Hellwig <[email protected]> > Reviewed-by: Martin K. Petersen <[email protected]> > Acked-by: Christoph Böhmwalder <[email protected]> [drbd] > Acked-by: Coly Li <[email protected]> [bcache] > Acked-by: David Sterba <[email protected]> [btrfs] > ---
Looks good. Reviewed-by: Chaitanya Kulkarni <[email protected]> -ck _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
