Detect if O_DIRECT is usable on device allocation.
Detect if O_DIRECT is usable on device allocation.

Try to read the first sector of a device when allocating
device context.

Should fix issue#247.

periodic1236/cryptsetup,periodic1236/cryptsetup,periodic1236/cryptsetup