DAX on BTT
DAX on BTT
Posted May 5, 2016 20:38 UTC (Thu) by phro (subscriber, #29295)Parent article: DAX on BTT
The real issue is that DAX and the BTT are incompatible. If you want to use DAX, you have to give up sector atomicity. If applications truly depend on that, then they can't run unmodified on a pmem device mounted with -o dax. That means that you would have to separate out your pmem mount points into those that will support legacy applications and those that will only support DAX. By combining the two, you get the best of both worlds.
I got the overwhelming impression that the room was not convinced that applications should rely on atomic sector updates. Such applications are broken and should be fixed. Thus, there is little impetus to support the mixed DAX+BTT mode that was proposed.
[1] http://research.cs.wisc.edu/wind/Publications/alice-osdi1...
Posted May 5, 2016 21:11 UTC (Thu)
by stellarhopper (subscriber, #84666)
[Link] (1 responses)
Posted May 6, 2016 14:48 UTC (Fri)
by phro (subscriber, #29295)
[Link]
Posted May 6, 2016 0:00 UTC (Fri)
by neilbrown (subscriber, #359)
[Link] (3 responses)
citation needed.
My model of traditional storage includes a ECC for each block. So the options for a read after an aborted write are:
How can you get a torn sector?
Posted May 6, 2016 0:15 UTC (Fri)
by andresfreund (subscriber, #69562)
[Link] (1 responses)
Posted May 8, 2016 13:39 UTC (Sun)
by robbe (guest, #16131)
[Link]
FWIW, ECC does not guarantee detection of errors. I don’t know what the distance of the code used for your disk is (are these values universal?), so I can’t tell what the probability of an undetected error is.
Posted May 6, 2016 14:50 UTC (Fri)
by phro (subscriber, #29295)
[Link]
> citation needed.
I suppose "never" is a strong word. What I meant to say was that the SCSI and ATA standards did not say anything about power-fail write atomicity of a single sector. Because they did not standardize it, you cannot rely on it.
DAX on BTT
DAX on BTT
DAX on BTT
- old data
- new data
- read error (ECC reports an uncorrectable error)
DAX on BTT
DAX on BTT
DAX on BTT
