On Friday August 12, [EMAIL PROTECTED] wrote:
> 
> Also, it would be nice to have something like:
> echo 1 > /proc/md../../WriteBehindEnabled
> echo 10 > /proc/md../../WriteBehindMaxDelayBeforeSync

Something like
   echo 1 > /sys/block/md0/md/d4/write_behind
or
   echo 10 > /sys/block/md0/md/max_write_behind

are real possibilities.
However "WriteBehindMaxDelayBeforeSync" doesn't make sense I don't
think.  When doing write behind, we don't delay the write at all.  We
just assume that it will take longer because it is on a slow device.
The only limit is the number of outstanding write requests.  Once this
crosses a maximum, all further requests a fully synchronous until the
number of outstanding writes drops below the maximum.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to