All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Wang, Zhiye" <Zhiye.Wang@Arcserve.com>
To: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: RE: freeze_bdev and scrub/re-balance
Date: Wed, 9 Dec 2015 11:01:35 +0000	[thread overview]
Message-ID: <CY1PR10MB04287C587E5F87A56289F282E4E80@CY1PR10MB0428.namprd10.prod.outlook.com> (raw)
In-Reply-To: <CY1PR10MB0428E36B7C37C92740306A60E40B0@CY1PR10MB0428.namprd10.prod.outlook.com>

Can anyone help me with this question?

Not only the kernel space API freeze_bdev, but also the IO control which can be called from user space.



-----Original Message-----
From: Wang, Zhiye 
Sent: Saturday, December 5, 2015 5:57 PM
To: linux-btrfs@vger.kernel.org
Subject: freeze_bdev and scrub/re-balance

Hi all,


If I understand it correctly, defragment operation is done in user space tools, while scrub/re-balance is done in kernel thread.


So, if my kernel module calls freeze_bdev when scrub/re-balance is in progress, will I still be able to get a consistent file system state?




Thanks
Mike


     

  reply	other threads:[~2015-12-09 11:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CY1PR10MB0428B98E759584F476DB4CF3E40B0@CY1PR10MB0428.namprd10.prod.outlook.com>
2015-12-05  9:57 ` freeze_bdev and scrub/re-balance Wang, Zhiye
2015-12-09 11:01   ` Wang, Zhiye [this message]
2015-12-09 17:21   ` Liu Bo
2015-12-14  9:27     ` Wang, Zhiye
2016-01-07 22:14       ` Liu Bo
2016-01-08  3:13         ` Wang, Zhiye

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=CY1PR10MB04287C587E5F87A56289F282E4E80@CY1PR10MB0428.namprd10.prod.outlook.com \
    --to=zhiye.wang@arcserve.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.