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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Hellwig <hch@...>
Cc: <linux-ext4@...>, <xfs@...>, <dm-devel@...>, <linux-fsdevel@...>, <linux-kernel@...>
Date: Monday, April 28, 2008 - 8:59 am

Hi,

[...]

bd_mount_sem can protect against only freezes and cannot protect against
unfreezes.  If multiple unfreezes run in parallel,  the multiple up() for
bd_mount_sem might occur incorrectly.


I will consider using test_and_set_bit.


OK.  I will split small helper functions.

Cheers, Takashi 
--
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)