Re: [PATCH 1/2] file-posix: probe discard alignment on Linux block devices

2025-04-11 Thread Eric Blake
On Wed, Apr 09, 2025 at 02:29:13PM -0400, Stefan Hajnoczi wrote: > Populate the pdiscard_alignment block limit so the block layer is able > align discard requests correctly. > > Signed-off-by: Stefan Hajnoczi > --- > block/file-posix.c | 56 +- > 1 fil

[PATCH 1/2] file-posix: probe discard alignment on Linux block devices

2025-04-09 Thread Stefan Hajnoczi
Populate the pdiscard_alignment block limit so the block layer is able align discard requests correctly. Signed-off-by: Stefan Hajnoczi --- block/file-posix.c | 56 +- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/block/file-posix.c b/b