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

2005-08-14 Thread Neil Brown
On Saturday August 13, [EMAIL PROTECTED] wrote: WriteMostly is just a flag that tells us which devices will get the write-behinds, and which will not. You'll be able to mix any combination of WriteMostly devices and normal devices in a raid1. Yes, but doesn't WriteMostly imply

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

2005-08-12 Thread Paul Clements
Al Boldi wrote: 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? WriteMostly is just a

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

2005-08-12 Thread Al Boldi
Paul Clements wrote: Al Boldi wrote: 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?

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

2005-08-11 Thread NeilBrown
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. Write requests will be acknowledges as complete to the caller (via b_end_io) when all non-WriteMostly devices