Le 5 avr. 07 à 08:28, Robert Milkowski a écrit :

Hello Matthew,

Thursday, April 5, 2007, 1:08:25 AM, you wrote:

MA> Lori Alt wrote:

Can write-cache not be turned on manually as the user is sure that it is
only ZFS that is using the entire disk?


yes it can be turned on. But I don't know if ZFS would then know about it.

I'd still feel more comfortably with it being turned off unless ZFS itself
does it.

But maybe someone from the ZFS team can clarify this.
I think that it's true that ZFS would not know about the
write cache and thus you wouldn't get the benefit of it.

MA> Actually, all that matters is that the write cache is on -- doesn't MA> matter whether ZFS turned it on or you did it manually. (However, make MA> sure that the write cache doesn't turn itself back off when you reboot /
MA> lose power...)

SCSI write cache flush commands will be issued regardless if zfs has a
whole disk or only a slice then, right?


That's correct. The code path that issue flushes to the write cache, do not check whether or no
the caches are enabled.
--
Best regards,
 Robert                            mailto:[EMAIL PROTECTED]
                                       http://milek.blogspot.com

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to