[LTP] [PATCH 1/1] aiocp.c: TCONF on O_DIRECT on tmpfs

Richard Palethorpe rpalethorpe@suse.de
Tue Dec 20 14:19:10 CET 2022


Hello,

Petr Vorel <pvorel@suse.cz> writes:

> Hi,
>
> hm, it looks like it requires to skip tmpfs, as all tests TCONF:
> aiocp.c:231: TINFO: Maximum AIO blocks: 65536
> tst_device.c:541: TINFO: Use BTRFS specific strategy
> tst_device.c:559: TBROK: BTRFS ioctl failed. Is . on a tmpfs?: ENOTTY (25)
>
> I check if it'd work without
> e1b1ae66b2 ("tst_find_backing_dev: Get dev name from /sys/dev/block/*/uevent")
>
> Kind regards,
> Petr

tmpfs is not backed by a block device so there is no block size. Unless
we treat the page size as the block size. So possibly tst_dev_block_size
should return the page size.

-- 
Thank you,
Richard.


More information about the ltp mailing list