On Thu, Feb 11, 2016 at 12:49:22PM -0700, Ross Zwisler wrote:
I think the plan of unsetting S_DAX on bdev->bd_inode when we
mount will save
us from this, as long as we do it super early in the mount process.
I think that S_DAX should not be set on the block device by default
in the first place. If we've been surprised by unexpected behaviour,
then I'm sure there are going to be other surprises waiting for us.
DAX default policy should be opt-in, not opt-out.