xfs
[Top] [All Lists]

Re: [PATCH 28/32 V2] xfs: add pre-write metadata buffer verifier callbac

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 28/32 V2] xfs: add pre-write metadata buffer verifier callbacks
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Wed, 14 Nov 2012 16:23:03 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20121114065231.GF1710@dastard>
References: <1352721264-3700-1-git-send-email-david@xxxxxxxxxxxxx> <1352721264-3700-29-git-send-email-david@xxxxxxxxxxxxx> <20121114065231.GF1710@dastard>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 11/14/12 00:52, Dave Chinner wrote:
xfs: add pre-write metadata buffer verifier callbacks

From: Dave Chinner<dchinner@xxxxxxxxxx>

These verifiers are essentially the same code as the read verifiers,
but do not require ioend processing. Hence factor the read verifier
functions and add a new write verifier wrapper that is used as the
callback.

This is done as one large patch for all verifiers rather than one
patch per verifier as the change is largely mechanical. This
includes hooking up the write verifier via the read verifier
function.

Hooking up the write verifier for buffers obtained via
xfs_trans_get_buf() will be done in a separate patch as that touches
code in many different places rather than just the verifier
functions.

Signed-off-by: Dave Chinner<dchinner@xxxxxxxxxx>
---
V2: fold in quotacheck dquot verifier changes.


Looks good.

Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>