zfs/include/os/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
..
kernel/linux Remove zpl_revalidate: fix snapshot rollback 2022-10-28 09:47:19 -07:00
spl Silence objtool warnings from 55d7afa4 2022-10-26 14:57:37 -07:00
zfs/sys Remove zpl_revalidate: fix snapshot rollback 2022-10-28 09:47:19 -07:00
Makefile.am zed: mark disks as REMOVED when they are removed 2022-09-28 09:48:46 -07:00