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

2025-04-18 Thread Eric Blake
On Thu, Apr 17, 2025 at 11:27:42AM -0500, Eric Blake wrote: > On Mon, Apr 14, 2025 at 04:12: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

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

2025-04-17 Thread Eric Blake
On Mon, Apr 14, 2025 at 04:12: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 | 67 +- > 1 fil

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

2025-04-15 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 | 67 +- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/block/file-posix.c b/b