xfs
[Top] [All Lists]

Re: [PATCH 1/3] xfs: fix attr tree double split corruption

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 1/3] xfs: fix attr tree double split corruption
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Mon, 12 Nov 2012 13:10:37 -0600
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1352718586-3538-2-git-send-email-david@xxxxxxxxxxxxx>
References: <1352718586-3538-1-git-send-email-david@xxxxxxxxxxxxx> <1352718586-3538-2-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 11/12/12 05:09, Dave Chinner wrote:
From: Dave Chinner<dchinner@xxxxxxxxxx>

In certain circumstances, a double split of an attribute tree is
needed to insert or replace an attribute. In rare situations, this
can go wrong, leaving the attribute tree corrupted. In this case,
the attr being replaced is the last attr in a leaf node, and the
replacement is larger so doesn't fit in the same leaf node.


...

Signed-off-by: Dave Chinner<dchinner@xxxxxxxxxx>
---

Looks great.

Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>

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