[PATCH RFC v3 for-6.8/block 04/17] mtd: block2mtd: use bdev apis
Christoph Hellwig
hch at infradead.org
Fri Jan 5 17:10:17 AEDT 2024
On Thu, Jan 04, 2024 at 12:28:55PM +0100, Jan Kara wrote:
> What do you think? Because when we are working with the folios it is rather
> natural to use their mapping for dirty balancing?
The real problem is that block2mtd pokes way to deep into block
internals.
I think the saviour here is Christians series to replace the bdev handle
with a struct file, which will allow to use the normal file write path
here and get rid of the entire layering volation.
More information about the Linux-erofs
mailing list