lkml.org 
[lkml]   [2011]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC: [PATCH] Add a sysfs entry queue/ignore_flushes.
On Fri, Sep 09, 2011 at 04:34:05PM -0400, Anthony DeRobertis wrote:
> I have an Oracle workload that ran quite fast under 2.6.32 due to mdraid
> not supporting barriers. 2.6.33 slowed it down very substantially, and
> its remains slow in 3.1. (Oracle is running on raw LVM logical volumes,
> not filesystems, so ext4 barrier=0 doesn't help).
>
> This patch adds a sysfs attribute to allow flush/fua to to turned off
> (ignored) on a per-block-device basis. I have tested it on both a VM and
> real hardware.
>
> I'm not sure that queue_flags is the best place to put the bit, seems
> like it may more logically go in flush_flags, but everything else is in
> queue_flags.
>
> I'm not subscribed, but will be looking for replies via list archives.
> Feel free to CC me.

If you add/remove/change sysfs attributes, you also need to do the same
to Documentation/ABI.

thanks,

greg k-h


\
 
 \ /
  Last update: 2011-09-11 07:21    [W:0.083 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site