On Mon, Nov 24, 2025 at 09:09:01AM -0800, Keith Busch wrote: > From: Keith Busch <[email protected]> > > The dma_alignment becomes 511 anyway if the caller doesn't explicitly > set it. But setting this default prevents the stacked device from > requesting a lower value even if it can handle lower alignments.
Given how much trouble we had with drivers doing software processing and unaligned buffers I'd feel more comfortable keeping this default limitation. Drivers that want to relax it can still trivially do that right after calling blk_set_stacking_limits.
