Re: [PATCH md 006 of 6] Add write-behind support for md/raid1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday August 12, a1426z@xxxxxxxxx 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux