On 09/04/2022 06:50, Christoph Hellwig wrote: > Just use a non-zero max_discard_sectors as an indicator for discard > support, similar to what is done for write zeroes. > > The only places where needs special attention is the RAID5 driver, > which must clear discard support for security reasons by default, > even if the default stacking rules would allow for it. > > Signed-off-by: Christoph Hellwig <[email protected]> > Reviewed-by: Martin K. Petersen <[email protected]> > Acked-by: Christoph Böhmwalder <[email protected]> [btrfs] > Acked-by: Coly Li <[email protected]> [bcache] > ---
For > drivers/s390/block/dasd_fba.c | 1 - Acked-by: Jan Höppner <[email protected]>
