loop.4: Document LOOP_SET_DIRECT_IO

Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Yang Xu 2020-01-06 15:42:22 +08:00 committed by Michael Kerrisk
parent f46304f747
commit 9d40af2a55
1 changed files with 7 additions and 0 deletions

View File

@ -152,6 +152,13 @@ Resize a live loop device.
One can change the size of the underlying backing store and then use this
operation so that the loop driver learns about the new size.
This operation takes no argument.
.TP
.BR LOOP_SET_DIRECT_IO " (since Linux 4.10)"
.\" commit ab1cb278bc7027663adbfb0b81404f8398437e11
Set DIRECT IO mode on the loop device. So it can be used to open backing
file. The (third)
.BR ioctl(2)
argument is an unsigned long value. non-zero represents direct IO mode.
.PP
Since Linux 2.6, there are two new
.BR ioctl (2)