| To: | "Christoph Hellwig" <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 1/3] Implement generic freeze feature |
| From: | "Takashi Sato" <t-sato@xxxxxxxxxxxxx> |
| Date: | Fri, 29 Aug 2008 18:37:28 +0900 |
| Cc: | "Andrew Morton" <akpm@xxxxxxxxxxxxxxxxxxxx>, <linux-fsdevel@xxxxxxxxxxxxxxx>, <dm-devel@xxxxxxxxxx>, <viro@xxxxxxxxxxxxxxxxxx>, <linux-ext4@xxxxxxxxxxxxxxx>, <xfs@xxxxxxxxxxx>, "Christoph Hellwig" <hch@xxxxxxxxxxxxx>, <axboe@xxxxxxxxx>, <mtk.manpages@xxxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx> |
| In-reply-to: | <20080822181458.GA15469@infradead.org> |
| References: | <20080818212819t-sato@mail.jp.nec.com> <20080822181458.GA15469@infradead.org> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
Hi, Christoph Hellwig wrote: On Mon, Aug 18, 2008 at 09:28:19PM +0900, Takashi Sato wrote: Even if the filesystem has already been frozen, the superblock should be returned. Because a caller should recognize the success of freeze_bdev() and call thaw_bdev() to decrease the reference count. But I will remove drop_super() as it should be called in thaw_bdev().
In the original implementation, unmount is protected by s_umount(semaphore), not bd_mount_sem. So, unmount task waits for unfreeze. I think this original behavior shouldn't be changed, so the existing s_umount lock is better.
Cheers, Takashi |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 1/3] Implement generic freeze feature, Takashi Sato |
|---|---|
| Next by Date: | Re: [PATCH 3/3] Add timeout feature, Takashi Sato |
| Previous by Thread: | Re: [PATCH 1/3] Implement generic freeze feature, Christoph Hellwig |
| Next by Thread: | [PATCH 2/3] Remove XFS specific ioctl interfaces for freeze feature, Takashi Sato |
| Indexes: | [Date] [Thread] [Top] [All Lists] |