zfs/include/os/linux/kernel/linux
Pavel Snajdr 52e658edd7 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-12-01 12:39:42 -08:00
..
Makefile.am Avoid installing kernel headers on FreeBSD 2020-06-27 17:40:14 -07:00
blkdev_compat.h Linux 5.19 compat: bdev_start_io_acct() / bdev_end_io_acct() 2022-06-01 14:24:49 -07:00
compiler_compat.h Use fallthrough macro 2021-11-02 09:50:30 -07:00
dcache_compat.h Remove zpl_revalidate: fix snapshot rollback 2022-12-01 12:39:42 -08:00
kmap_compat.h Removing old code for k(un)map_atomic 2021-03-19 22:38:44 -07:00
mod_compat.h Linux: Remove ZFS_AC_KERNEL_SRC_MODULE_PARAM_CALL_CONST autotools check 2022-11-01 12:42:01 -07:00
page_compat.h Linux 5.9 compat: NR_SLAB_RECLAIMABLE 2020-08-29 20:57:45 -07:00
percpu_compat.h Use percpu_counter for obj_alloc counter of Linux-backed caches 2020-06-26 18:06:50 -07:00
simd.h Add AltiVec RAID-Z 2020-01-23 11:01:24 -08:00
simd_aarch64.h Linux 4.14, 4.19, 5.0+ compat: SIMD save/restore 2019-10-24 10:17:33 -07:00
simd_powerpc.h Add AltiVec RAID-Z 2020-01-23 11:01:24 -08:00
simd_x86.h Linux 5.19 compat: asm/fpu/internal.h 2022-06-01 14:24:49 -07:00
utsname_compat.h OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
vfs_compat.h Linux 5.12 compat: idmapped mounts 2021-03-19 21:00:59 -07:00
xattr_compat.h Add xattr_handler support for Android kernels 2022-09-14 09:57:37 -07:00