public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: Thor Kristoffersen <thorkr@gmail.com>
Cc: Timothy Shimmin <tes@sgi.com>, xfs@oss.sgi.com
Subject: Re: Does XFS prevent disk spindown?
Date: Tue, 8 Apr 2008 07:58:55 +1000	[thread overview]
Message-ID: <20080407215855.GE108924158@sgi.com> (raw)
In-Reply-To: <m2wsn9qub4.fsf@getmail.no>

On Mon, Apr 07, 2008 at 10:33:19PM +0200, Thor Kristoffersen wrote:
> Timothy Shimmin <tes@sgi.com> writes:
> > Thor Kristoffersen wrote:
> >>> Use blktrace, or echo 1 > /proc/sys/vm/block_dump to see what block and
> >>> who's writing it...  it's probably the superblock?  what kernel?
> >>
> >> This is kernel version 2.6.24.  More specifically it's a Debian kernel from
> >> package linux-image-2.6.24-1-686 (2.6.24-4).
> >>
> >> I put the system in runlevel 1 and executed the test as you suggested.  On
> >> /dev/sda3 I have mounted (with noatime) an XFS filesystem that contains
> >> data that is not supposed to be accessed by any process.  In the output
> >> below I have filtered out all accesses to other partitions.  (BTW, this is
> >> not actually the disk that I wanted to spin down, but I think the log
> >> proves my point.)
> >>
> >>
> > I'm wondering if that is writing to the xfs ondisk log/journal in those cases.
> > What does 'xfs_logprint -t' show in these "idle" states
> > after these writes?
> 
> xfs_logprint produces output like the one shown below, so it does indeed
> look like it's writing to the journal.  But why should it need to keep
> writing to the journal when there have been no updates to any files on that
> partition recently?

Are you using lazy-count=1? (i.e. output of 'xfs_info <mtpt>', please).

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

  reply	other threads:[~2008-04-07 21:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-31 18:26 Does XFS prevent disk spindown? Thor Kristoffersen
2008-04-01  0:30 ` David Chinner
2008-04-01  6:00   ` Eric Sandeen
2008-04-01 18:20     ` Thor Kristoffersen
2008-04-05 14:01       ` Thor Kristoffersen
2008-04-07  1:05         ` Timothy Shimmin
2008-04-07 20:33           ` Thor Kristoffersen
2008-04-07 21:58             ` David Chinner [this message]
2008-04-08  5:53               ` Thor Kristoffersen
2008-04-09  4:11                 ` [patch] " David Chinner
2008-04-09 21:32                   ` Thor Kristoffersen
2008-04-09 23:02                     ` David 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=20080407215855.GE108924158@sgi.com \
    --to=dgc@sgi.com \
    --cc=tes@sgi.com \
    --cc=thorkr@gmail.com \
    --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