bdflush(2) System Calls Manual bdflush(2) bdflush - , #include [[deprecated]] int bdflush(int func, long *address); [[deprecated]] int bdflush(int func, long data); : Linux 2.6, . , . bdflush() pdflush. bdflush() , . ( CAP_SYS_ADMIN) bdflush(). func 0, , bdflush() . func 1, <<>> (dirty) . func 2 ( 0), address , (func-2)/2. func 3 ( 1), data , (func-3)/2. fs/buffer.c Linux. func , , bdflush() . , -1 , errno . EBUSY , . EFAULT address . EINVAL , . EPERM CAP_SYS_ADMIN. Linux. Since glibc 2.23, glibc no longer supports this obsolete system call. . sync(1), fsync(2), sync(2) Artyom Kunyov , Azamat Hackimov , Dmitriy Ovchinnikov , Dmitry Bolkhovskikh , ITriskTI , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . bdflush(2)