bdflush.2: Note that bdflush() is deprecated, and does nothing

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-03-05 12:57:02 +13:00
parent b9145b2cab
commit 966ba49822
1 changed files with 12 additions and 1 deletions

View File

@ -25,7 +25,7 @@
.\" 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 2004-06-17 "Linux" "Linux Programmer's Manual"
.TH BDFLUSH 2 2012-03-05 "Linux" "Linux Programmer's Manual"
.SH NAME
bdflush \- start, flush, or tune buffer-dirty-flush daemon
.SH SYNOPSIS
@ -36,6 +36,17 @@ bdflush \- start, flush, or tune buffer-dirty-flush daemon
.BI "int bdflush(int " func ", long " data );
.fi
.SH DESCRIPTION
.IR Note :
Since Linux 2.6,
.\" As noted in a changes in the 2.5.12 source
this system call is deprecated and does nothing.
It is likely to disappear altogether in a future kernel release.
Nowadays, the task performed by
.BR bdflush ()
is handled by the kernel
.I pdflush
thread.
.BR bdflush ()
starts, flushes, or tunes the buffer-dirty-flush daemon.
Only a privileged process (one with the