]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Declare aio requests on files from local filesystems safe.
authorKonstantin Belousov <kib@FreeBSD.org>
Thu, 21 Jul 2016 17:07:06 +0000 (17:07 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Thu, 21 Jul 2016 17:07:06 +0000 (17:07 +0000)
commit9fe297bbdceab932bcbe0c14e9374e8bcd285b04
tree8dffcdd22910425c57a6f35228e1c483ab48aede
parent42e83752de0dae238ffdad735235286ca1d50ef8
Declare aio requests on files from local filesystems safe.
Two notes:
- 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.

Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D7273
sys/kern/vfs_aio.c