All of lore.kernel.org
 help / color / mirror / Atom feed
* Disabling barriers on NVC-backed HDD
@ 2017-11-15 17:01 Gionatan Danti
  2017-11-15 17:31 ` Darrick J. Wong
  0 siblings, 1 reply; 7+ messages in thread
From: Gionatan Danti @ 2017-11-15 17:01 UTC (permalink / raw)
  To: linux-xfs; +Cc: g.danti

Hi list,
I'm not sure this is the correct list to post my question; if so, feel 
free to ignore this message.

On XFS FAQs I (rightfully) read that barrier should be *always* enabled 
(and they are, by default), unless a write-loss protected writeback 
cache is used at the RAID card level. So far, so good.

Newer HDDs has themselves have a non-volatile cache (NVC) of some sort, 
basically:
- DRAM + eMCL: in a powerloss event, the DRAM cache is immediately 
dumped on the eMLC flash;
- DRAM + NOR flash: NOR mirrors a (small) portion of the DRAM cache, 
used for write acceleration purpose;
- dedicated "dump" areas on the disks: they effectively mirror a portion 
of the DRAM cache.

My question is: do you think it is safe to disable barriers, both for 
XFS and in general terms, on these disks? Or they should be considered 
as the same "dumb" unprotected DRAM caches found on classical HDD?

 From a side, these *are* powerloss-protected caches. Problem is that all 
these power-protection schemes are considered "secret sauce / trade 
secret" by HDD vendors and, for this reason, there are very little (if 
any) informations on their inner working.

Regards.

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@assyoma.it - info@assyoma.it
GPG public key ID: FF5F32A8

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-11-15 20:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-15 17:01 Disabling barriers on NVC-backed HDD Gionatan Danti
2017-11-15 17:31 ` Darrick J. Wong
2017-11-15 18:53   ` Gionatan Danti
2017-11-15 19:47   ` Christoph Hellwig
2017-11-15 20:17     ` Gionatan Danti
2017-11-15 20:18       ` Gionatan Danti
2017-11-15 20:27         ` Gionatan Danti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.