[Top] [All Lists]

Re: Backporting the concurrent direct IO write fix to 3.4

To: Kerin Millar <kerframil@xxxxxxxxx>
Subject: Re: Backporting the concurrent direct IO write fix to 3.4
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 3 Jul 2012 12:09:49 -0400
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4FF2F41F.5000504@xxxxxxxxx>
References: <4FF2F41F.5000504@xxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Jul 03, 2012 at 02:31:11PM +0100, Kerin Millar wrote:
> Hi,
> I recently became aware of commit 507630b2 (use shared ilock mode for
> direct IO writes by default). I understand that this fixes a regression
> which can have a notable impact upon MySQL performance. This is of
> considerable interest to myself because my MySQL servers have to contend
> with a really tough workload.
> The patch applies cleanly to 3.4 stable but is it actually safe to use
> it there? Or does it depend on other changes to XFS, such that I'd be
> better off holding out for 3.5? Any advice would be greatly appreciated.

You want the whole series starting at b4d05e3019692fc5a8c573fbce60de2d48c5b7a1
without the earlier patches there are potential problems when using

On the one hand I'd love to see these patches go into 3.4-stable as it's
going to be a long term release, on the other hand they are fairly
invasive.  If you can give a headsup after passing xfstests and heavy
mysql testing including benchmarks it might make sense to consider them.

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