public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Timothy Shimmin <tes@sgi.com>
To: Nathan Scott <nathans@sgi.com>
Cc: xfs@oss.sgi.com
Subject: Re: review: block bogus bulkstat messages, last stage
Date: Fri, 28 Jul 2006 15:11:34 +1000	[thread overview]
Message-ID: <44C99C86.2000208@sgi.com> (raw)
In-Reply-To: <20060726101537.H2118045@wobbly.melbourne.sgi.com>

Nathan Scott wrote:
> Hi,
> 
> Earlier changes removed most of the bogus verbosity from fsstress
> runs with debug kernels, when bulkstat is asked to report on non-
> inode data in its stat'ing.  This resolves the one remaining case
> which is the bulkstat_one vs a xfs_dilocate warning, by passing a
> flag down into dilocate indicating we may be looking up garbage,
> and not to spam the console in that situation.
> 
> cheers.
> 

1. xfs_ialloc.c
+		xfs_stack_trace();
What's the stack trace for?
It is just to give more info after one of the 3 error msgs
beforehand? Happens in DEBUG. Okay.

2. xfs_inode.h:
+#define XFS_IGET_CREATE		0x1
+#define XFS_IGET_BULKSTAT	0x2
Okay.

3. xfs_itable.c
xfs_bulkstat_one_iget calls xfs_iget with XFS_IGET_BULKSTAT flag.
Okay.

4. xfs_inode.c
xfs_iread takes in extra param, imap_flags
and passes it on to call of xfs_itobp
Okay
xfs_ialloc's xfs_trans_iget()'s IGET_CREATE -> XFS_IGET_CREATE
Okay

5. xfs_iget.c
IGET_CREATE -> XFS_IGET_CREATE
ok
some cleanup
xfs_iget_core calls xfs_iread with extra imap_flags of XFS_IMAP_BULKSTAT
if it is given its flag of XFS_IGET_BULKSTAT
ok

6. xfs_dm.c
xfs_dm_bulkall_iget_one calls xfs_iget with XFS_IGET_BULKSTAT
xfs_dm_bulkattr_iget_one calls xfs_iget with XFS_IGET_BULKSTAT
ok

Seems fine.

--Tim

  reply	other threads:[~2006-07-28  5:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-26  0:15 review: block bogus bulkstat messages, last stage Nathan Scott
2006-07-28  5:11 ` Timothy Shimmin [this message]
2006-07-28  5:22   ` Nathan Scott

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=44C99C86.2000208@sgi.com \
    --to=tes@sgi.com \
    --cc=nathans@sgi.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