Re: [PATCH] xfs: restore bi_bdev in xfs_zone_gc_write_chunk

Carlos Maiolino <[email protected]>
Newsgroups org.kernel.vger.linux-xfs
Message-ID <[email protected]>
On Thu, 13 Aug 2026 16:56:12 +0200, Christoph Hellwig wrote:
> xfs_zone_gc_write_chunk relies on bi_bdev to still be valid, which is not
> true when XFS is used on top of a stacked block device.  This can lead to
> misdirected GC writes, writing of plain text when using dm-crypt, or
> miscalculated I/O limits in xfs_zone_gc_split_write.
> 
> Fix this by reassigning bi_bdev.
> 
> [...]

Applied to for-next, thanks!

[1/1] xfs: restore bi_bdev in xfs_zone_gc_write_chunk
      commit: 885435535bb1d07746916d4c8832f95767bf2d7e

Best regards,
-- 
Carlos Maiolino <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.