Files
mirror_zfs/module/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-09-14 13:47:59 -07:00
2022-03-15 15:13:42 -07:00
2023-01-10 13:39:22 -08:00
2024-11-21 08:24:37 -08:00
2024-09-14 13:47:59 -07:00
2024-12-02 18:14:26 -08:00
2024-09-04 14:17:02 -07:00
2024-08-16 12:03:35 -07:00
2024-05-29 10:49:11 -07:00
2024-11-04 16:46:39 -08:00
2024-10-02 20:47:11 -07:00
2024-12-02 18:14:26 -08:00
2024-11-04 16:46:39 -08:00
2023-03-14 15:59:58 -07:00
2023-06-09 10:12:52 -07:00
2022-03-15 15:13:42 -07:00
2022-01-12 16:14:36 -08:00
2024-04-09 16:23:19 -07:00
2019-06-19 09:48:12 -07:00
2022-03-15 15:13:42 -07:00
2023-11-08 10:19:41 -08:00
2024-09-14 13:47:59 -07:00
2024-09-14 13:47:59 -07:00
2023-03-14 15:25:50 -07:00
2022-09-02 13:31:19 -07:00
2024-05-29 10:49:11 -07:00
2024-09-14 13:47:59 -07:00
2024-11-21 08:24:37 -08:00
2022-11-29 09:26:03 -08:00