Re: [PATCH v3 2/5] block: fix dio leak on metadata mapping error
Hannes Reinecke <[email protected]>
| Newsgroups | dev.linux.lists.dm-devel,org.kernel.vger.linux-block,org.kernel.vger.linux-fsdevel |
|---|---|
| Message-ID | <[email protected]> |
On 6/24/26 7:09 PM, Keith Busch wrote: > From: Keith Busch <[email protected]> > > A failed integrity mapping holds a dio reference, so we need to go > through the full bio ending in case there were previously submitted > bio's in the sequence. > > Fixes: 2729a60bbfb92 ("block: don't silently ignore metadata for sync read/write") > Reviewed-by: Christoph Hellwig <[email protected]> > Signed-off-by: Keith Busch <[email protected]> > --- > block/fops.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > Reviewed-by: Hannes Reinecke <[email protected]> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect [email protected] +49 911 74053 688 SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich