On 2/23/24 23:37, Christoph Hellwig wrote:
Looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>
Thanks for your view.
... but if you're actually still actively using the bitmap code, any chance you could try to look into updating it so that it doesn't rely on ->bmap?
maybe I misunderstood your meaning, do you mean: you don't like the design of the bitmap, and you hope/plan to drop it? bitmap is a journal-like stuff. we could get an idea from filesystem journal, just write data status to the bitmap area, rather than managing it in kernel memory. with this idea, writing data protection may involve more simpler code, the replay will become more complex. Thanks, Heming