Re: [RFC][PATCH 3/4] change mnt_writers[] spinlock to mutex

2008-01-10 Thread Dave Hansen
Missed the description on that one. Here it is: We're shortly going to need to be able to block new mnt_writers for long periods of time during a superblock remount operation. Since this operation can sleep, we can not use a spinlock. We opt for a mutex instead. This are very, very rarely

[RFC][PATCH 3/4] change mnt_writers[] spinlock to mutex

2008-01-10 Thread Dave Hansen
--- linux-2.6.git-dave/fs/namespace.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff -puN fs/namespace.c~change-spinlock-to-mutex fs/namespace.c --- linux-2.6.git/fs/namespace.c~change-spinlock-to-mutex 2008-01-10 10:45:47.0 -0800 +++

[RFC][PATCH 3/4] change mnt_writers[] spinlock to mutex

2008-01-10 Thread Dave Hansen
--- linux-2.6.git-dave/fs/namespace.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff -puN fs/namespace.c~change-spinlock-to-mutex fs/namespace.c --- linux-2.6.git/fs/namespace.c~change-spinlock-to-mutex 2008-01-10 10:45:47.0 -0800 +++

Re: [RFC][PATCH 3/4] change mnt_writers[] spinlock to mutex

2008-01-10 Thread Dave Hansen
Missed the description on that one. Here it is: We're shortly going to need to be able to block new mnt_writers for long periods of time during a superblock remount operation. Since this operation can sleep, we can not use a spinlock. We opt for a mutex instead. This are very, very rarely