Re: [PATCH v1 1/2] loop.4: Document LOOP_SET_DIRECT_IO

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

 



On 1/6/20 8:42 AM, Yang Xu wrote:
> Signed-off-by: Yang Xu <xuyang2018.jy@xxxxxxxxxxxxxx>

Hello Yang Xu. Thanks. Patch applied.

Cheers,

Michael

> ---
>  man4/loop.4 | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/man4/loop.4 b/man4/loop.4
> index a56586fe6..afb1d05c5 100644
> --- a/man4/loop.4
> +++ b/man4/loop.4
> @@ -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)
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux