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]

 



NeilBrown wrote:
> If a device is flagged 'WriteMostly' and the array has a bitmap,
> and the bitmap superblock indicates that write_behind is allowed,
> then write_behind is enabled for WriteMostly devices.

Nice, but why is it dependent on WriteMostly?

> This requires memory allocation to make a local copy of the data
> being written.  If there is insufficient memory, then we fall-back
> on normal write semantics.

Good!

Also, it would be nice to have something like:
echo 1 > /proc/md../../WriteBehindEnabled
echo 10 > /proc/md../../WriteBehindMaxDelayBeforeSync

Thanks!

--
Al

-
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