mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-09-15 21:56:21 +03:00
![]() In syncing mode, zfs_putpages() would put the entire range of pages onto
the ZIL, then return VM_PAGER_OK for each page to the kernel. However,
an associated zil_commit() or txg sync had not happened at this point,
so the write may not actually be on disk.
So, we rework that case to use a ZIL commit callback, and do the
post-write work of undirtying the page and signaling completion there.
We return VM_PAGER_PEND to the kernel instead so it knows that we will
take care of it.
The original version of this (
|
||
---|---|---|
.. | ||
acl_common.c | ||
callb.c | ||
list.c | ||
spl_acl.c | ||
spl_atomic.c | ||
spl_cmn_err.c | ||
spl_dtrace.c | ||
spl_kmem.c | ||
spl_kstat.c | ||
spl_misc.c | ||
spl_policy.c | ||
spl_procfs_list.c | ||
spl_string.c | ||
spl_sunddi.c | ||
spl_sysevent.c | ||
spl_taskq.c | ||
spl_uio.c | ||
spl_vfs.c | ||
spl_vm.c | ||
spl_zlib.c | ||
spl_zone.c |