Revert r318180 and re-enable AIO tests on md(4) by default.
The 'physio' fast-path used by AIO requests on md(4) devices, is not gated on the unsafe_aio knob. Prior to r327755, some AIO requests could fail the fast-path and fall back to the slow-path (requests for devices not supporting unmapped I/O and requests which failed with EFAULT during the fast-path). However, those cases now return a suitable error rather than using the slow-path. PR: 217261 Reviewed by: asomers Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D14742
This commit is contained in:
parent
74fe6c29fb
commit
7c13fd10c4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331221
@ -667,7 +667,6 @@ aio_md_test(completion comp, struct sigevent *sev)
|
||||
char buf[80];
|
||||
|
||||
ATF_REQUIRE_KERNEL_MODULE("aio");
|
||||
ATF_REQUIRE_UNSAFE_AIO();
|
||||
|
||||
mdctl_fd = open("/dev/" MDCTL_NAME, O_RDWR, 0);
|
||||
ATF_REQUIRE_MSG(mdctl_fd != -1,
|
||||
|
Loading…
Reference in New Issue
Block a user