Re: Write cache

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

 



On Thu, 2 Dec 2010 15:58:51 +0000 mark delfman <markdelfman@xxxxxxxxxxxxxx>
wrote:

> Hi
> 
> Is there any way to use an MD RAID in write through mode?  I
> appreciate that there is a performance impact but this is important
> from a security prospective....

MD RAID does work in write-through mode.  I have occasionally thought about
adding a write-back mode which would make sense now that we have a sensible
flushing infrastructure in Linux.  But I haven't implemented it.

> 
> The likelihood is that I would use RAID0 (I know this sounds like a
> contradiction to the above, but the ‘drives’ are probably hardware
> RAIDs).  But may use standard RAID6.

RAID0 doesn't do any caching at all.

> 
> I cannot see any way to disable write cache in MD, but I am hopefully
> I am simply missing something obvious.

Why do you think these is a write-behind cache in MD ??

NeilBrown



> 
> I appreciate any feedback....
> 
> Thanks, Mark
> --
> 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

--
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