diff options
Diffstat (limited to 'man2/bdflush.2')
-rw-r--r-- | man2/bdflush.2 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/man2/bdflush.2 b/man2/bdflush.2 index d97949e..0f1ccca 100644 --- a/man2/bdflush.2 +++ b/man2/bdflush.2 @@ -5,13 +5,13 @@ .\" Modified 1997-01-31 by Eric S. Raymond <esr@thyrsus.com> .\" Modified 2004-06-17 by Michael Kerrisk <mtk.manpages@gmail.com> .\" -.TH bdflush 2 2023-03-30 "Linux man-pages 6.05.01" +.TH bdflush 2 2023-10-31 "Linux man-pages 6.7" .SH NAME bdflush \- start, flush, or tune buffer-dirty-flush daemon .SH SYNOPSIS .nf .B #include <sys/kdaemon.h> -.PP +.P .BI "[[deprecated]] int bdflush(int " func ", long *" address ); .BI "[[deprecated]] int bdflush(int " func ", long " data ); .fi @@ -26,25 +26,25 @@ Nowadays, the task performed by is handled by the kernel .I pdflush thread. -.PP +.P .BR bdflush () starts, flushes, or tunes the buffer-dirty-flush daemon. Only a privileged process (one with the .B CAP_SYS_ADMIN capability) may call .BR bdflush (). -.PP +.P If .I func is negative or 0, and no daemon has been started, then .BR bdflush () enters the daemon code and never returns. -.PP +.P If .I func is 1, some dirty buffers are written to disk. -.PP +.P If .I func is 2 or more and is even (low bit is 0), then @@ -53,7 +53,7 @@ is the address of a long word, and the tuning parameter numbered .RI "(" "func" "\-2)/2" is returned to the caller in that address. -.PP +.P If .I func is 3 or more and is odd (low bit is 1), then @@ -62,7 +62,7 @@ is a long word, and the kernel sets tuning parameter numbered .RI "(" "func" "\-3)/2" to that value. -.PP +.P The set of parameters, their values, and their valid ranges are defined in the Linux kernel source file .IR fs/buffer.c . |