On Tue, Jul 03, 2012 at 02:31:11PM +0100, Kerin Millar wrote:
> 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.