public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: "Nathaniel W. Turner" <nate@houseofnate.net>
To: xfs@oss.sgi.com
Subject: XFS_BUF_ORDERED instead of XFS_BUF_ISORDERED?
Date: Mon, 25 Aug 2008 18:12:06 -0400	[thread overview]
Message-ID: <48B32E36.7060305@houseofnate.net> (raw)

Hi folks,

While doing a little light reading, I noticed the following in 
fs/xfs/xfs_log.c:1011 (in the 2.6.26.3 Linux kernel tree).  Am I missing 
something, or should XFS_BUF_ORDERED be replaced with XFS_BUF_ISORDERED 
in this check?

nate


        /*
         * If the ordered flag has been removed by a lower
         * layer, it means the underlyin device no longer supports
         * barrier I/O. Warn loudly and turn off barriers.
         */
        if ((l->l_mp->m_flags & XFS_MOUNT_BARRIER) && 
!XFS_BUF_ORDERED(bp)) {
                l->l_mp->m_flags &= ~XFS_MOUNT_BARRIER;
                xfs_fs_cmn_err(CE_WARN, l->l_mp,
                                "xlog_iodone: Barriers are no longer 
supported"
                                " by device. Disabling barriers\n");
                xfs_buftrace("XLOG_IODONE BARRIERS OFF", bp);
        }

             reply	other threads:[~2008-08-25 22:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-25 22:12 Nathaniel W. Turner [this message]
2008-08-25 23:16 ` XFS_BUF_ORDERED instead of XFS_BUF_ISORDERED? Eric Sandeen
2008-08-26  2:09 ` Dave Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48B32E36.7060305@houseofnate.net \
    --to=nate@houseofnate.net \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox