From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Mason Subject: Re: [RFC][PATCH] Fix nodatacow check Date: Fri, 18 Jul 2008 15:15:44 -0400 Message-ID: <1216408544.6932.67.camel@think.oraclecorp.com> References: <3d0408630807171913r29a1f24he69d80497cd374d7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain Cc: linux-btrfs@vger.kernel.org To: Yan Zheng Return-path: In-Reply-To: <3d0408630807171913r29a1f24he69d80497cd374d7@mail.gmail.com> List-ID: On Fri, 2008-07-18 at 10:13 +0800, Yan Zheng wrote: > Hello, > > This patch fixes the nodatacow check. The new test function can always > detect extents referenced by multiple snatshots. If a extent was > allocated in recent two transactions and no snapshot happened in these > two transactions, we can always avoid cow. Thanks Yan, I think this should work. Could you please update it to the latest unstable tree and resend? -chris