mirror_zfs/include/os/linux
khoang98 c405a7a35c Skip dbuf_evict_one() from dbuf_evict_notify() for reclaim thread
Avoid calling dbuf_evict_one() from memory reclaim contexts (e.g. Linux
kswapd, FreeBSD pagedaemon). This prevents deadlock caused by reclaim
threads waiting for the dbuf hash lock in the call sequence:
dbuf_evict_one -> dbuf_destroy -> arc_buf_destroy

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Signed-off-by: Kaitlin Hoang <kthoang@amazon.com>
Closes #17561
2025-08-07 12:15:14 -04:00
..
kernel/linux tunables: remove __check_old_set_param workaround 2025-06-17 10:50:26 -07:00
spl Skip dbuf_evict_one() from dbuf_evict_notify() for reclaim thread 2025-08-07 12:15:14 -04:00
zfs/sys Define sops->free_inode() to prevent use-after-free during lookup 2025-08-05 12:30:23 -04:00
Makefile.am config: remove HAVE_PERCPU_COUNTER_INIT_WITH_GFP 2024-09-18 11:23:49 -07:00