login
Header Space

 
 

Re: [RFC PATCH 1/3] Implement generic freeze feature

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Takashi Sato <t-sato@...>
Cc: linux-ext4@vger.kernel.org <linux-ext4@...>, xfs@oss.sgi.com <xfs@...>, dm-devel@redhat.com <dm-devel@...>, linux-fsdevel@vger.kernel.org <linux-fsdevel@...>, linux-kernel@vger.kernel.org <linux-kernel@...>
Date: Monday, April 28, 2008 - 6:37 am

On Mon, Apr 28, 2008 at 07:31:23PM +0900, Takashi Sato wrote:

The freezing process is already protected by bd_mount_sem, so I don't
think there's need for another one.


I think the protection against double freezes would be better done by
using a trylock on bd_mount_sem.  In fact after that it could be changed
from a semaphore to a simple test_and_set_bit.

This would be better to split intot a small helper ala ioctl_fibmap()


Same here.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 1/3] Implement generic freeze feature, Takashi Sato, (Mon Apr 28, 6:31 am)
Re: [RFC PATCH 1/3] Implement generic freeze feature, Christoph Hellwig, (Mon Apr 28, 6:37 am)
Re: [RFC PATCH 1/3] Implement generic freeze feature, Takashi Sato, (Mon Apr 28, 8:59 am)
Re: [RFC PATCH 1/3] Implement generic freeze feature, Christoph Hellwig, (Mon Apr 28, 9:03 am)
Re: [RFC PATCH 1/3] Implement generic freeze feature, Takashi Sato, (Tue Apr 29, 9:10 pm)
speck-geostationary