diff options
Diffstat (limited to 'module/zfs/zvol.c')
-rw-r--r-- | module/zfs/zvol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c index a25fbbe5e..9dda04077 100644 --- a/module/zfs/zvol.c +++ b/module/zfs/zvol.c @@ -555,7 +555,7 @@ zvol_write(void *arg) dmu_tx_commit(tx); zfs_range_unlock(rl); - if (rq_is_sync(req)) + if (rq_is_sync(req) || zv->zv_objset->os_sync == ZFS_SYNC_ALWAYS) zil_commit(zv->zv_zilog, ZVOL_OBJ); blk_end_request(req, -error, size); |