Re: fix and cleanup discard_alignment handling

2022-04-25 Thread Martin K. Petersen
Christoph, > the somewhat confusing name of the discard_alignment queue limit, that > really is an offset for the discard granularity mislead a lot of > driver authors to set it to an incorrect value. This series tries to > fix up all these cases. Not sure how I ended up with "discard_alignmen

Re: [PATCH 06/11] raid5: don't set the discard_alignment queue limit

2022-04-25 Thread Song Liu
On Sun, Apr 17, 2022 at 9:53 PM Christoph Hellwig wrote: > > The discard_alignment queue limit is named a bit misleading means the > offset into the block device at which the discard granularity starts. > Setting it to the discard granularity as done by raid5 is mostly > harmless but also useless.