Re: [zfs-discuss] hard drive write cache

2006-05-26 Thread Ed Nadolski
Gregory Shaw wrote: In recent Linux distributions, when the kernel shuts down, the kernel will force the scsi drives to flush their write cache. I don't know if solaris does the same but I think not, due to the ongoing focus of solaris and disabling write cache. The Solaris sd(7D)

Re: [zfs-discuss] hard drive write cache

2006-05-26 Thread Bart Smaalders
Gregory Shaw wrote: I had a question to the group: In the different ZFS discussions in zfs-discuss, I've seen a recurring theme of disabling write cache on disks. I would think that the performance increase of using write cache would be an advantage, and that write cache should be

Re: [zfs-discuss] hard drive write cache

2006-05-26 Thread Chris Csanady
On 5/26/06, Bart Smaalders [EMAIL PROTECTED] wrote: There are two failure modes associated with disk write caches: Failure modes aside, is there any benefit to a write cache when command queueing is available? It seems that the primary advantage is in allowing old ATA hardware to issue

Re: [zfs-discuss] hard drive write cache

2006-05-26 Thread Neil Perrin
ZFS enables the write cache and flushes it when committing transaction groups; this insures that all of a transaction group appears or does not appear on disk. It also flushes the disk write cache before returning from every synchronous request (eg fsync, O_DSYNC). This is done after writing