RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1104380 - Problem with tecnical depth and accuracy of documentation link provided
Summary: Problem with tecnical depth and accuracy of documentation link provided
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: doc-Storage_Admin_Guide
Version: 6.0
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: pre-dev-freeze
: ---
Assignee: Jacquelynn East
QA Contact: ecs-bugs
URL: https://access.redhat.com/site/docume...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-03 21:16 UTC by Umar Nadeem
Modified: 2015-04-15 23:46 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-15 23:46:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Umar Nadeem 2014-06-03 21:16:29 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0
Build Identifier: 

escription of problem:   

The information provided in the administration guide page could be inaccurate or missing important points:

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/writebarrierconsider.html 

Here are the comments of a user who used it :

"Specifically (to the best of my knowledge) a BBWC will only assure data integrity without barriers/FUA if used with the noop scheduler - with any other scheduler the filesystem transaction may be reordered posing a risk that it only an effectively random part of the operation is committed to the non-volatile storage at the time of an outage. While my understanding may be incorrect there was no information provided on the page to support any alternative hypothesis."

Reproducible: Always

Comment 3 Eric Sandeen 2014-06-24 04:09:14 UTC
I don't think that's accurate.  The elevator code has a dispatch function which takes a "force" argument, and in that code path, i.e. CFQ has this:

/*
 * Drain our current requests. Used for barriers and when switching
 * io schedulers on-the-fly.
 */
static int cfq_forced_dispatch(struct cfq_data *cfqd)
{
        struct cfq_queue *cfqq; 
        int dispatched = 0;

        /* Expire the timeslice of the current active queue first */
        cfq_slice_expired(cfqd, 0);
        while ((cfqq = cfq_get_next_queue_forced(cfqd)) != NULL) {
                __cfq_set_active_queue(cfqd, cfqq);
                dispatched += __cfq_forced_dispatch_cfqq(cfqq);
        }

CFQ knows how to handle barriers, as far as I know.

Comment 4 Eric Sandeen 2014-06-24 13:38:53 UTC
Sorry, the original question was about running *without* barriers.
Let me re-think this.

Comment 5 Eric Sandeen 2014-06-24 14:32:06 UTC
As Jeff Moyer says:

> The file system will manually order dependent I/O.
> What I mean by that is the file system will send down any I/O for the
> transaction log, wait for that to complete, issue a barrier (which will
> be a noop in the case of a battery-backed write cache), and then send
> down the commit block along with another barrier.  As such, you cannot
> have the I/O scheduler reorder the commit block and the log entry with
> which it is associated.


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