Thread (186 messages) 186 messages, 6 authors, 2016-12-08

Re: [PATCH 19/63] xfs: create bmbt update intent log items

From: Christoph Hellwig <hch@infradead.org>
Date: 2016-09-30 07:24:41
Also in: linux-fsdevel

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help