There are two fine moments:
- I allow AIO on reclaimed vnodes, since it is deterministically terminated fast.
- devfs mounts are marked as MNT_LOCAL, but device vnodes have type VCHR, so the slow device io is not allowed.
Differential D7273
Declare aio requests on files from local filesystems safe. Authored by kib on Jul 21 2016, 4:50 PM. Tags None Referenced Files
Subscribers
Details
There are two fine moments:
Diff Detail
Event TimelineComment Actions This should probably go into 11 if possible. It probably fixes the bulk of the use cases that folks like jmg@ really care about (since samba was using aio for local filesystem access). Comment Actions One other note is that some of the aio tests in test/sys/aio might be able to remove the unsafe check. Comment Actions This requires more work, like statfs(2)-ing the operational mount point. E.g., tests might be performed on NFS. Comment Actions Yes, I might get around to fixing that (I have certainly run them both locally and over NFS myself). I do need to update the language in aio(4) to document the change of this commit, though I will do that after my pending aio_warn change. |