On Sun, May 29, 2022 at 06:55:04PM +0800, Zorro Lang wrote: > The generic/591 fails if the sector size of TEST_DEV isn't 512: > > splice-test: write: /mnt/test/a: Invalid argument > > To fix this issue, this patch help src/splice-test.c to get a specify > sector size from the test case. Then let g/591 give it a proper > sector size which dio aligned. > > Signed-off-by: Zorro Lang <zlang@xxxxxxxxxx> > --- > src/dmiperf | Bin 0 -> 31288 bytes > src/splice-test.c | 37 +++++++++++++++++++++++++------------ > src/t_locks_execve | Bin 0 -> 25904 bytes > tests/generic/591 | 6 ++++-- I don't think this commit should include built binaries.... -Dave -- Dave Chinner david@xxxxxxxxxxxxx