Files
mirror_zfs/module/os/freebsd/zfs
Alexander Motin b17ea73f9d Fix regression in dmu_buf_will_fill()
Direct I/O implementation added condition to call dbuf_undirty()
only in case of block cloning.  But the condition is not right if
the block is no longer dirty in this TXG, but still in DB_NOFILL
state.  It resulted in block not reverting to DB_UNCACHED and
following NULL de-reference on attempt to access absent db_data.

While there, add assertions for db_data to make debugging easier.

Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Closes #16829
2024-12-02 18:14:26 -08:00
..
2024-12-02 18:14:26 -08:00
2022-03-15 15:13:42 -07:00
2023-03-22 09:24:41 -07:00
2024-09-03 17:52:33 -07:00
2024-09-14 13:47:59 -07:00
2024-09-14 13:47:59 -07:00