cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Bob Peterson <rpeterso@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [Patch 04/44] libgfs2: Make check_sb and read_sb operate on gfs1 file systems
Date: Fri, 12 Aug 2011 09:55:39 -0400 (EDT)	[thread overview]
Message-ID: <2006229190.552336.1313157339372.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> (raw)
In-Reply-To: <1313139819.2704.17.camel@menhir>

----- Original Message -----
| Hi,
| 
| The return values are a bit confusing, could we have 1 for gfs1, 2 for
| gfs2, and negative for error? Also lets call these functions
| libgfs2_check_sb etc, to try and keep the interface clean,
| 
| Steve.

Hi,

Good idea.

Since the change was pretty pervasive, I broke it into two patches:
03/44 and 04/44.  The idea behind patch 3 was to add the gfs1 variable
to the in-core superblock structure without changing the logic to
minimize wading through ugly logic.  The idea behind patch 4 was to
set the variable when the superblock is read in, and fix up the logic
accordingly, but I should be done it more cleanly.
I'll redesign patch 4 and send out a replacement.

Regards,

Bob Peterson
Red Hat File Systems



      reply	other threads:[~2011-08-12 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-11 20:54 [Cluster-devel] [Patch 04/44] libgfs2: Make check_sb and read_sb operate on gfs1 file systems Bob Peterson
2011-08-12  9:03 ` Steven Whitehouse
2011-08-12 13:55   ` Bob Peterson [this message]

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=2006229190.552336.1313157339372.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com \
    --to=rpeterso@redhat.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;
as well as URLs for NNTP newsgroup(s).