Re: provide a sane discard_granularity default

2023-12-29 Thread Jens Axboe
On Thu, 28 Dec 2023 07:55:36 +, Christoph Hellwig wrote: > this series defaults the discard_granularity to the sector size as > that is a very logical default for devices that have no further > restrictions. This removes the need for trivial drivers to set > a discard granularity and cleans

provide a sane discard_granularity default

2023-12-27 Thread Christoph Hellwig
Hi Jens, this series defaults the discard_granularity to the sector size as that is a very logical default for devices that have no further restrictions. This removes the need for trivial drivers to set a discard granularity and cleans up the interface. Diffstat: arch/um/drivers/ubd_kern.c|