Re: Bug: devfs is sure to have the bug.

2011-08-08 Thread Kohji Okuno
Hi Kostic and Jaakko, On Fri, Aug 05, 2011 at 06:45:22PM +0300, Jaakko Heinonen wrote: On 2011-08-03, Kostik Belousov wrote: On Wed, Aug 03, 2011 at 02:44:23PM +0900, Kohji Okuno wrote: devfs_populate(), and the context holds only dm-dm_lock in devfs_populate(). On the other

Re: Bug: devfs is sure to have the bug.

2011-08-05 Thread Jaakko Heinonen
On 2011-08-03, Kostik Belousov wrote: On Wed, Aug 03, 2011 at 02:44:23PM +0900, Kohji Okuno wrote: devfs_populate(), and the context holds only dm-dm_lock in devfs_populate(). On the other hand, devfs_generation is incremented in devfs_create() and devfs_destroy() the context

Re: Bug: devfs is sure to have the bug.

2011-08-05 Thread Kostik Belousov
On Fri, Aug 05, 2011 at 06:45:22PM +0300, Jaakko Heinonen wrote: On 2011-08-03, Kostik Belousov wrote: On Wed, Aug 03, 2011 at 02:44:23PM +0900, Kohji Okuno wrote: devfs_populate(), and the context holds only dm-dm_lock in devfs_populate(). On the other hand, devfs_generation

Re: Bug: devfs is sure to have the bug.

2011-08-04 Thread Kostik Belousov
On Thu, Aug 04, 2011 at 11:41:39AM +0900, Kohji Okuno wrote: Hello Kostik, From: Kostik Belousov kostik...@gmail.com Subject: Re: Bug: devfs is sure to have the bug. Date: Wed, 3 Aug 2011 16:50:44 +0300 I think the problem you described is real, and suggested change is right. Initially

Re: Bug: devfs is sure to have the bug.

2011-08-04 Thread Kohji Okuno
Hello Kostik, On Thu, Aug 04, 2011 at 11:41:39AM +0900, Kohji Okuno wrote: Hello Kostik, From: Kostik Belousov kostik...@gmail.com Subject: Re: Bug: devfs is sure to have the bug. Date: Wed, 3 Aug 2011 16:50:44 +0300 I think the problem you described is real, and suggested change

Re: Bug: devfs is sure to have the bug.

2011-08-04 Thread Kostik Belousov
On Thu, Aug 04, 2011 at 06:56:00PM +0900, Kohji Okuno wrote: Hello Kostik, On Thu, Aug 04, 2011 at 11:41:39AM +0900, Kohji Okuno wrote: But, now I'm using 8.1-RELEASE. May I have advice about 8.X ? Do you mean a patch for the stable/8 ? I believe it is enough to apply rev. 211628 to

Re: Bug: devfs is sure to have the bug.

2011-08-04 Thread Kohji Okuno
Hello Kostik, On Thu, Aug 04, 2011 at 11:41:39AM +0900, Kohji Okuno wrote: But, now I'm using 8.1-RELEASE. May I have advice about 8.X ? Do you mean a patch for the stable/8 ? I believe it is enough to apply rev. 211628 to stable/8, then the patch I posted yesterday should be

Re: Bug: devfs is sure to have the bug.

2011-08-03 Thread Kostik Belousov
On Wed, Aug 03, 2011 at 02:44:23PM +0900, Kohji Okuno wrote: Hello, Hello, I think that devfs is sure to have the bug. I found that I couldn't open /dev/XXX though the kernel detected XXX device. dm-dm_generation is updated with devfs_generation in devfs_populate

Re: Bug: devfs is sure to have the bug.

2011-08-03 Thread Kohji Okuno
Hello Kostik, From: Kostik Belousov kostik...@gmail.com Subject: Re: Bug: devfs is sure to have the bug. Date: Wed, 3 Aug 2011 16:50:44 +0300 Message-ID: 20110803135044.gm17...@deviant.kiev.zoral.com.ua On Wed, Aug 03, 2011 at 02:44:23PM +0900, Kohji Okuno wrote: Hello, Hello, I think

Bug: devfs is sure to have the bug.

2011-08-02 Thread Kohji Okuno
Hello, I think that devfs is sure to have the bug. I found that I couldn't open /dev/XXX though the kernel detected XXX device. dm-dm_generation is updated with devfs_generation in devfs_populate(), and the context holds only dm-dm_lock in devfs_populate(). On the other hand, devfs_generation

Re: Bug: devfs is sure to have the bug.

2011-08-02 Thread Kohji Okuno
Hello, Hello, I think that devfs is sure to have the bug. I found that I couldn't open /dev/XXX though the kernel detected XXX device. dm-dm_generation is updated with devfs_generation in devfs_populate(), and the context holds only dm-dm_lock in devfs_populate(). On the other