Re: [PATCH v2] pstore/blk: Export a method to implemente panic_write()

From: Christoph Hellwig
Date: Wed Feb 08 2023 - 01:34:18 EST


On Mon, Feb 06, 2023 at 02:18:13PM +0800, Victor Hassan wrote:
> The panic_write() is necessary to write the pstore frontend message
> to blk devices when panic. Here is a way to register panic_write when
> we use "best_effort" way to register the pstore blk-backend.

This looks like a really awkware interface. And without also posting
the users it not only has no chance to ever be merged, but also robs
us of a good way to try to help you to find a better interface.