Re: [RFC PATCH] Introduce filesystem type tracking

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Hellwig
Date: Tuesday, May 20, 2008 - 6:57 am

On Tue, May 20, 2008 at 02:43:06PM +0100, Al Viro wrote:

We had a discussion about filesystems starting threads without an
active instance.  I suggested tracking instances and add ->init / ->exit
methods to struct file_system_type for these kinds of instances.

But we should track superblock instances, not vfsmount instances of
course.  Tom, you probably don't even need a counter, emptyness
of file_system_type.fs_supers should be indication enough.  And yes
we'd need locking to prevent init racing with exit.

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

Messages in current thread:
[RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Mon May 19, 4:22 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Tue May 20, 6:06 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Tue May 20, 6:50 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Christoph Hellwig, (Tue May 20, 6:57 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Tue May 20, 8:18 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Matthew Wilcox, (Tue May 20, 8:34 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Tue May 20, 8:36 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Tue May 20, 2:08 pm)
Re: [RFC PATCH] Introduce filesystem type tracking, Matthew Wilcox, (Tue May 20, 3:00 pm)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Tue May 20, 3:22 pm)
Re: [RFC PATCH] Introduce filesystem type tracking, Jan Engelhardt, (Wed May 21, 2:42 am)
Re: [RFC PATCH] Introduce filesystem type tracking, Tom Spink, (Wed May 21, 7:49 am)