mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-03-10 20:36:21 +03:00
ZIO: ZIO_STAGE_DDT_WRITE is a blocking stage
ddt_lookup() in zio_ddt_write() might require synchronous DDT ZAP read. Running it from interrupt taskq might lead to deadlock. Inclusion of ZIO_STAGE_DDT_WRITE into ZIO_BLOCKING_STAGES should hopefully fix that, even though I am not sure how I got there. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Alexander Motin <alexander.motin@TrueNAS.com> Closes #17981
This commit is contained in:
parent
d393166c54
commit
20f09eae42
@ -278,7 +278,8 @@ enum zio_stage {
|
||||
ZIO_VDEV_IO_STAGES)
|
||||
|
||||
#define ZIO_BLOCKING_STAGES \
|
||||
(ZIO_STAGE_DVA_ALLOCATE | \
|
||||
(ZIO_STAGE_DDT_WRITE | \
|
||||
ZIO_STAGE_DVA_ALLOCATE | \
|
||||
ZIO_STAGE_DVA_CLAIM | \
|
||||
ZIO_STAGE_VDEV_IO_START)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user