Re: [PATCH v2 8/9] selftests/mm: Skip map_populate on weird filesystems

2025-02-27 Thread Brendan Jackman
On Mon, 24 Feb 2025 at 11:25, Brendan Jackman wrote: > > On Fri, 21 Feb 2025 at 19:26, Brendan Jackman wrote: > > > > It seems that 9pfs does not allow truncating unlinked files, Mark Brown > > has noted that NFS may also behave this way. > > I have not investigated at all but I _think_ over the

Re: [PATCH v2 8/9] selftests/mm: Skip map_populate on weird filesystems

2025-02-24 Thread Brendan Jackman
On Fri, 21 Feb 2025 at 19:26, Brendan Jackman wrote: > > It seems that 9pfs does not allow truncating unlinked files, Mark Brown > has noted that NFS may also behave this way. I have not investigated at all but I _think_ over the weekend I saw ftruncate() failure on a QEMU guest where /tmp was tm

[PATCH v2 8/9] selftests/mm: Skip map_populate on weird filesystems

2025-02-21 Thread Brendan Jackman
It seems that 9pfs does not allow truncating unlinked files, Mark Brown has noted that NFS may also behave this way. It doesn't seem quite right to call this a "bug" but it's probably a special enough case that it makes sense for the test to just SKIP if it happens. Signed-off-by: Brendan Jackman