| To: | "Andrew Morton" <akpm@xxxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 1/3] Implement generic freeze feature |
| From: | "Takashi Sato" <t-sato@xxxxxxxxxxxxx> |
| Date: | Fri, 29 Aug 2008 18:36:56 +0900 |
| Cc: | <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: | <20080821125841.a04a706f.akpm@linux-foundation.org> |
| References: | <20080818212819t-sato@mail.jp.nec.com> <20080821125841.a04a706f.akpm@linux-foundation.org> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
Hi, Andrew Morton wrote:
2. thaw_bdev() - Test of bd_freeze_count - Decrement of bd_freeze_count - s_op->unlockfs - Unset unfreeze timer Because the journal sync in ext3's write_super_lockfs might need a long time, we should use the mutex (not atomic_t). If bd_freeze_sem protects only the modification and testing of bd_freeze_count, freeze_bdev() and thaw_bdev() will run simultaneously and unexpected problem will occur. (For example, after we run the freeze ioctl with timeout period, the filesystem is frozen, but the unfreeze timer isn't set.) Cheers, Takashi |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [REVIEW #2] Update kernel code to compile in userspace (libxfs), Barry Naujok |
|---|---|
| Next by Date: | Re: [PATCH 1/3] Implement generic freeze feature, Takashi Sato |
| Previous by Thread: | Re: [PATCH 1/3] Implement generic freeze feature, Andreas Dilger |
| Next by Thread: | Re: [PATCH 1/3] Implement generic freeze feature, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |