Re: block: correctly fallback for zeroout

From
Martin K. Petersen <hidden>
Date
2016-06-10 02:05:55
Also in
lkml
quoted
quoted
quoted
quoted
"Christoph" == Christoph Hellwig [off-list ref] writes:
quoted
Userland apps rely on EOPNOTSUPP, we can't break that.
Christoph> Rely on what exactly?  Current we return EOPNOTSUPP if the
Christoph> device doesn't claim to support discards, but it returns 0 if
Christoph> the device first claims to support it but then fails the I/O.

Hopefully we can clean up this when/if we go the fallocate() route.

-- 
Martin K. Petersen	Oracle Linux Engineering
Thread (1 message) 1 message, 1 author, last reply 2016-06-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help