zfs/include/os/linux/kernel/linux
Pavel Snajdr 86db35c447 Remove zpl_revalidate: fix snapshot rollback
Open files, which aren't present in the snapshot, which is being
roll-backed to, need to disappear from the visible VFS image of
the dataset.

Kernel provides d_drop function to drop invalid entry from
the dcache, but inode can be referenced by dentry multiple dentries.

The introduced zpl_d_drop_aliases function walks and invalidates
all aliases of an inode.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Pavel Snajdr <snajpa@snajpa.net>
Closes #9600
Closes #14070
2022-10-28 09:47:19 -07:00
..
blkdev_compat.h zed: mark disks as REMOVED when they are removed 2022-09-28 09:48:46 -07:00
compiler_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
dcache_compat.h Remove zpl_revalidate: fix snapshot rollback 2022-10-28 09:47:19 -07:00
kmap_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mod_compat.h Cleanup: 64-bit kernel module parameters should use fixed width types 2022-10-13 10:03:29 -07:00
page_compat.h Linux 5.9 compat: NR_SLAB_RECLAIMABLE 2020-08-29 20:57:45 -07:00
percpu_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
simd.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
simd_aarch64.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
simd_powerpc.h Add PPC cpu feature tests for FreeBSD and Linux 2022-09-16 14:25:53 -07:00
simd_x86.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
utsname_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
vfs_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
xattr_compat.h Add xattr_handler support for Android kernels 2022-09-06 10:02:18 -07:00