Re: luks header on initramfs img fails due to no O_DIRECT support in tmpfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/08/2014 09:22 AM, Natanael Copa wrote:
> I found this posting while looking at an issue with cryptsetup-1.6.5 in initramfs:
> http://www.saout.de/pipermail/dm-crypt/2014-August/004227.html
> 
> I believe this is same thing as reported here:
> http://bugs.alpinelinux.org/issues/3281
> 
> Seems like the problem is that open(2) does not support O_DIRECT when on tmpfs.

Yes, I expected something like that.

In cryptsetup 1.6.4 this was not happening because it was hidden by temporary dmcrypt
device in the middle of stack.

It is kernel bug, O_DIRECT should work on tmpfs and similar devices.

Anyway, it should also work on older kernels, so I'll think about implementing
some workaround here.

Thanks,
Milan
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt




[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux