Files
linux/drivers
Josef Bacik 07ce213f63 nbd: set discard_alignment to the granularity
Technically we should be able to get away with 0 as the
discard_alignment, but there's no way currently for the protocol to
indicate different alignments, and in real life most disks have
discard_alignment == discard_granularity.  Just set our alignment to our
blocksize to make sure discards will actually work properly with 4k
drives.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-06-05 09:50:46 -06:00
..
2018-05-29 09:59:53 -04:00
2018-04-19 15:11:50 -07:00
2018-03-27 09:51:22 +02:00
2018-05-29 20:14:32 +02:00
2018-05-15 13:56:16 -06:00
2018-03-29 13:38:10 +03:00