mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-10-26 18:05:04 +03:00
This patch removes the need for zpl_revalidate altogether. There were 3 main reasons why we used d_revalidate: 1. periodic automounted snapshots umount deferral 2. negative dentries created before snapshot rollback 3. stale inodes referenced by dentry cache after snapshot rollback Periodic snapshots deferral solution introduces zfs_exit_fs function, which is called as a part of ZFS_EXIT(zfsvfs_t) macro. Negative dentries and stale inodes are solved by flushing the dcache for the particular dataset on zfs_resume_fs call. This patch also removes now unused HAVE_S_D_OP configure test. Reviewed-by: Aleksa Sarai <cyphar@cyphar.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Pavel Snajdr <snajpa@snajpa.net> Closes #8774 Closes #9549 |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| policy.h | ||
| sha2.h | ||
| trace_acl.h | ||
| trace_arc.h | ||
| trace_common.h | ||
| trace_dbgmsg.h | ||
| trace_dbuf.h | ||
| trace_dmu.h | ||
| trace_dnode.h | ||
| trace_multilist.h | ||
| trace_rrwlock.h | ||
| trace_txg.h | ||
| trace_vdev.h | ||
| trace_zfs.h | ||
| trace_zil.h | ||
| trace_zio.h | ||
| trace_zrlock.h | ||
| zfs_ctldir.h | ||
| zfs_dir.h | ||
| zfs_vfsops.h | ||
| zfs_vnops.h | ||
| zfs_znode_impl.h | ||
| zpl.h | ||