Bug 821697 - [2.5 File system determinism tips] bdflush(2) is obsolete syscall
Summary: [2.5 File system determinism tips] bdflush(2) is obsolete syscall
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: Realtime_Tuning_Guide
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: 2.2
: ---
Assignee: Cheryn Tan
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks: 795209
TreeView+ depends on / blocked
 
Reported: 2012-05-15 11:08 UTC by Kazuo Moriwaka
Modified: 2014-06-18 07:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-20 02:38:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kazuo Moriwaka 2012-05-15 11:08:35 UTC
Description of problem:

bdflush(2) is introduced as related man pages, but this syscall is obsolete and man pages don't say about the situation.

This may cause some useless time in tuning process.  Please remove the reference or add some notes like "this system call is obsolete and calling it is ignored, but this man pages is informative for understanding kernel behaviour."  

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

in linux/fs/buffer.c: 
-----------------------------------
/*
 * There are no bdflush tunables left.  But distributions are
 * still running obsolete flush daemons, so we terminate them here.
 *
 * Use of bdflush() is deprecated and will be removed in a future kernel.
 * The `flush-X' kernel threads fully replace bdflush daemons and this call.
 */
SYSCALL_DEFINE2(bdflush, int, func, long, data)
{
-----------------------------------

Comment 3 Cheryn Tan 2012-09-20 02:38:45 UTC
Released for MRG 2.2.


Note You need to log in before you can comment on or make changes to this bug.