From: anand jain <anand.jain@oracle.com>
To: linux-btrfs@vger.kernel.org
Cc: sandeen@redhat.com, dsterba@suse.cz
Subject: Re: [PATCH 0/5 v5] access to backup-sb and btrfs' multipath aware
Date: Thu, 28 Mar 2013 07:17:50 +0800 [thread overview]
Message-ID: <51537E1E.5060507@oracle.com> (raw)
In-Reply-To: <1364378856-21053-1-git-send-email-anand.jain@oracle.com>
Any review comments on this ? pls.
Thanks, Anand
On 27/03/2013 18:07, Anand Jain wrote:
> We need a mechanism to tell when to use the backup super_block.
> To do this it needs a frame-work, and the patch #2 and #3 below
> provides the same without change in the logic.
>
> Its been found and posted to the list that check_mounted needs
> access to the backup-sb. so patch #3 adds flags parameter
> to the function btrfs_scan_one_device so that _only_
> check_mounted can set the flag to access the backup-sb.
>
> patch#4 below is to enable and disable acecss to backup-sb
> for only certain threads
>
> v4->v5:
> Rebase with integration-20130321 and with my own changes (patch #1)
> Allow check_mounted thread-path to use backup-sb
>
> v3->v4:
> Fixed some warnings introduced by patch #3 below,
> sorry my mistake.
>
> v2->v3:
> Accepts David and Eric review, which would result in disabled
> access to backup-superblock by default.
> Dropped the patch
> [PATCH 3/3] btrfs-progs: use BTRFS_SCAN_BACKUP_SB flag in btrfs_scan_one_device
> Introduced a new patch
> [PATCH 3/3] btrfs-progs: disable using backup superblock by default
>
> v1->v2:
> Accepts Eric and Zach review.
> Separates fix into 3 patches for easy logical understanding
>
> Anand Jain (5):
> btrfs-progs: make btrfs dev scan multi path aware
> btrfs-progs: Introduce flag BTRFS_SCAN_REGISTER to replace run_ioctl
> btrfs-progs: Introduce flag BTRFS_SCAN_BACKUP_SB for
> btrfs_read_dev_super
> btrfs-progs: introduce passing flags to btrfs_scan_one_device
> btrfs-progs: disable using backup superblock by default
>
> cmds-device.c | 57 +++++++++++++++++++++++++++++++++++++++++----------------
> cmds-replace.c | 2 +-
> disk-io.c | 15 ++++++++++-----
> disk-io.h | 3 ++-
> find-root.c | 9 ++++++---
> utils.c | 57 +++++++++++++++++++++++++++++++++++++++------------------
> utils.h | 8 +++++---
> volumes.c | 6 ++++--
> volumes.h | 2 +-
> 9 files changed, 109 insertions(+), 50 deletions(-)
>
next prev parent reply other threads:[~2013-03-27 23:18 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-22 5:29 [bug] mkfs.btrfs reports device busy for ext4 mounted disk Anand Jain
2013-02-22 19:03 ` Zach Brown
2013-02-22 22:30 ` David Sterba
2013-03-01 10:18 ` Anand Jain
2013-03-01 10:13 ` [PATCH] btrfs-progs: traverse to backup super-block only when indicated Anand Jain
2013-03-01 17:37 ` Eric Sandeen
2013-03-04 5:20 ` Anand Jain
2013-03-01 18:27 ` Zach Brown
2013-03-27 10:07 ` [PATCH 0/5 v5] access to backup-sb and btrfs' multipath aware Anand Jain
2013-03-27 10:07 ` [PATCH 1/5 v5] btrfs-progs: make btrfs dev scan multi path aware Anand Jain
2013-04-11 9:57 ` [obsoleted] " Anand Jain
2013-03-27 10:07 ` [PATCH 2/5 v5] btrfs-progs: Introduce flag BTRFS_SCAN_REGISTER to replace run_ioctl Anand Jain
2013-03-27 10:07 ` [PATCH 3/5 v5] btrfs-progs: Introduce flag BTRFS_SCAN_BACKUP_SB for btrfs_read_dev_super Anand Jain
2013-03-27 10:07 ` [PATCH 4/5 v5] btrfs-progs: introduce passing flags to btrfs_scan_one_device Anand Jain
2013-03-27 10:07 ` [PATCH 5/5 v5] btrfs-progs: disable using backup superblock by default Anand Jain
2013-03-27 23:17 ` anand jain [this message]
2013-04-05 5:54 ` v6: access to backup superblock Anand Jain
2013-04-05 5:54 ` [PATCH 1/5] btrfs-progs: Introduce flag BTRFS_SCAN_REGISTER to replace run_ioctl Anand Jain
2013-04-05 5:54 ` [PATCH 2/5] btrfs-progs: Introduce flag BTRFS_SCAN_BACKUP_SB for btrfs_read_dev_super Anand Jain
2013-04-05 5:54 ` [PATCH 3/5] btrfs-progs: introduce passing flags to btrfs_scan_one_device Anand Jain
2013-04-05 5:54 ` [PATCH 4/5] btrfs-progs: disable using backup superblock by default Anand Jain
2013-04-05 5:54 ` [PATCH 5/5] btrfs-progs: btrfs-find-root should scan backup-sb Anand Jain
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=51537E1E.5060507@oracle.com \
--to=anand.jain@oracle.com \
--cc=dsterba@suse.cz \
--cc=linux-btrfs@vger.kernel.org \
--cc=sandeen@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).