On Wed, Jun 12, 2019 at 10:39:14AM +0200, Joel Colledge wrote:
> Hi Rob,
> 
> This message indicates that mounting with DAX is failing here:
> https://github.com/openSUSE/kernel/blob/SLE12-SP4/drivers/dax/super.c#L131
> 
> But DRBD performs the corresponding check here:
> https://github.com/LINBIT/drbd-9.0/blob/drbd-9.0.18-1/drbd/drbd_dax_pmem.c#L57

Hm.
Unfortunately ((unsigned long)-ENOTSUP < 1) is false,
we simply did not notice error returns :-(
Fixed now.

Still, a block device claiming to support it,
but then returning "sorry, not supported"
once you actually try to use it, is ... not very friendly either.

> > [525370.955135] dm-16: error: dax access failed (-95)

-- 
: Lars Ellenberg
: LINBIT | Keeping the Digital World Running
: DRBD -- Heartbeat -- Corosync -- Pacemaker

DRBD® and LINBIT® are registered trademarks of LINBIT
__
please don't Cc me, but send to list -- I'm subscribed
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to