On Thu, Sep 29, 2016 at 08:07:39PM -0700, Darrick J. Wong wrote:
Create bmbt update intent/done log items to record redo information in
the log. Because we roll transactions multiple times for reflink
operations, we also have to track the status of the metadata updates
that will be recorded in the post-roll transactions in case we crash
before committing the final transaction. This mechanism enables log
recovery to finish what was already started.
Looks fine:
Reviewed-by: Christoph Hellwig <hch@lst.de>
but the amount of boilerplate code we add for each log item really
worries me. We should think of a way to avoid all that code
duplication.