Skip to content

Commit

Permalink
Merge pull request #268 from truenas/NAS-133615
Browse files Browse the repository at this point in the history
NAS-133615 / None / Revert "Linux: Enable Direct IO by default"
  • Loading branch information
amotin authored Jan 17, 2025
2 parents deb3321 + 9d395e4 commit a0fd93a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions module/zfs/zfs_vnops.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,8 @@ int zfs_bclone_wait_dirty = 0;
* Enable Direct I/O. If this setting is 0, then all I/O requests will be
* directed through the ARC acting as though the dataset property direct was
* set to disabled.
*
* Disabled by default on FreeBSD until a potential range locking issue in
* zfs_getpages() can be resolved.
*/
#ifdef __FreeBSD__
static int zfs_dio_enabled = 0;
#else
static int zfs_dio_enabled = 1;
#endif


/*
Expand Down

0 comments on commit a0fd93a

Please sign in to comment.