Re: [PATCH 5/5] ext2: Add ext2_sb_info s_lock spinlock

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan Kara
Date: Tuesday, April 13, 2010 - 12:09 pm

On Mon 12-04-10 22:41:45, Jan Blunck wrote:
  Looking at this - probably we should protect by this lock also setting of
a feature in ext2_xattr_update_super_block(). It's an unrelated bugfix but
when we are already doing the bugfixing & cleanups in this area...

  Why exactly do you have in the above? Probably because of consistent
view of mount options? You should comment about that in the changelo and
especially at the lock declaration in ext2_fs.h.

  Could you please fold in ext2_commit_super? It's used only here and it's
name looks a bit scary to be called under the spinlock...

									Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] ext2: Preparation to remove BKL, Jan Blunck, (Mon Apr 12, 1:41 pm)
[PATCH 5/5] ext2: Add ext2_sb_info s_lock spinlock, Jan Blunck, (Mon Apr 12, 1:41 pm)
Re: [PATCH 0/5] ext2: Preparation to remove BKL, Frederic Weisbecker, (Mon Apr 12, 2:01 pm)
Re: [PATCH 0/5] ext2: Preparation to remove BKL, Arnd Bergmann, (Tue Apr 13, 2:31 am)
Re: [PATCH 5/5] ext2: Add ext2_sb_info s_lock spinlock, Jan Kara, (Tue Apr 13, 12:09 pm)
Re: [PATCH 0/5] ext2: Preparation to remove BKL, Frederic Weisbecker, (Tue Apr 13, 1:12 pm)