Actions
Bug #12343
closedDirect IO support
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Port from OpenZFS
a584ef2605 Direct IO support
Updated by Jerry Jelinek over 2 years ago
There is actually nothing to port from the OpenZFS commit a584ef2605. There are no actual changes to the ZFS code in that commit, just changes to their interface into Linux to enable the use of O_DIRECT. Instead, for illumos we need to enable the use of the (private) _FIODIRECTIO ioctl for ZFS.
Enabling the use of O_DIRECT on illumos is a separate issue.
Updated by Jerry Jelinek over 2 years ago
There is nothing in the zfs test suite which uses the illumos directio function, so I wrote a simple test program and verified that directio fails on a zfs file without this change and that it succeeds after this change.
Updated by Electric Monk over 2 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit aaa9aa59eb29d123223ea0b8ebf393049910d9ce
commit aaa9aa59eb29d123223ea0b8ebf393049910d9ce Author: Jerry Jelinek <jerry.jelinek@joyent.com> Date: 2020-03-02T19:36:48.000Z 12343 Direct IO support Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Actions