default setting of WCE

Scott Long scottl at samsco.org
Mon May 12 13:58:52 UTC 2008


Rong-en Fan wrote:
> Hi,
> 
> I'm wondering what's the default of our da(4) regarding
> the WCE (write cache) bit. I see some of my disks has this
> bit on by default and some are off. I guess it depends on
> the capabilities returned by the underlying device when
> probing? In addition, on the same hardware, I found that
> Linux has write cache enabled by default... (yes, I have read
> da(4) and knows the pros/cons of enabling this).
> 

The 'da' driver leaves the WCE setting alone by default.  The
MPT driver does enable the write cache on SATA drives that it
finds on SAS controllers, but this is specific to this driver
and it happens unknown to the da driver.

Scott


More information about the freebsd-scsi mailing list