login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
January
»
9
Re: [**BULK SPAM**] Re: bd_mount_mutex -> bd_mount_sem (was Re: xfs_file_ioctl / xfs_freeze: BUG: warning at kernel/mutex-debug.c:80/debug_mutex_unlock())
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Nathan Scott <nscott@...>
To: David Chinner <dgc@...>
Cc: Andrew Morton <akpm@...>, Eric Sandeen <sandeen@...>, linux-kernel Mailing List <linux-kernel@...>, <xfs@...>
Subject:
Re: [**BULK SPAM**] Re: bd_mount_mutex -> bd_mount_sem (was Re: xfs_file_ioctl / xfs_freeze: BUG: warning at kernel/mutex-debug.c:80/debug_mutex_unlock())
Date: Tuesday, January 9, 2007 - 2:02 am
On Tue, 2007-01-09 at 15:49 +1100, David Chinner wrote:
quoted text
> On Tue, Jan 09, 2007 at 03:17:03PM +1100, Nathan Scott wrote: > > On Mon, 2007-01-08 at 19:51 -0800, Andrew Morton wrote: > > > If that's not true, then what _is_ happening in there? > > > > This particular case was a device mapper stack trace, hence the > > confusion, I think. Both XFS and DM are making the same generic > > block layer call here though (freeze_bdev). > > Yup. it's the freeze_bdev/thaw_bdev use of the bd_mount_mutex() > that's the problem. I fail to see _why_ we need to hold a lock > across the freeze/thaw - the only reason i can think of is to > hold out new calls to sget() (via get_sb_bdev()) while the > filesystem is frozen though I'm not sure why you'd need to > do that. Can someone explain why we are holding the lock from > freeze to thaw?
Not me. If it's really not needed, then...
quoted text
> > > If that _is_ true then, well, that sucks a bit. > > > > Indeed, its a fairly ordinary interface, but thats too late to go > > fix now I guess (since its exposed to userspace already). > > Userspace knows nothing about that lock, so we can change that without > changing the the userspace API.
...that would be true, AFAICS. cheers. -- Nathan -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
xfs_file_ioctl / xfs_freeze: BUG: warning at kernel/mutex-de...
, Sami Farin
, (Wed Jan 3, 8:14 pm)
Re: xfs_file_ioctl / xfs_freeze: BUG: warning at kernel/mute...
, David Chinner
, (Sun Jan 7, 5:37 pm)
Re: xfs_file_ioctl / xfs_freeze: BUG: warning at kernel/mute...
, Andrew Morton
, (Mon Jan 8, 7:56 pm)
Re: xfs_file_ioctl / xfs_freeze: BUG: warning at kernel/mute...
, Ingo Molnar
, (Tue Jan 9, 2:41 am)
Re: xfs_file_ioctl / xfs_freeze: BUG: warning at kernel/mute...
, Sami Farin
, (Mon Jan 8, 7:03 am)
Re: xfs_file_ioctl / xfs_freeze: BUG: warning at kernel/mute...
, Eric Sandeen
, (Mon Jan 8, 12:40 pm)
bd_mount_mutex -> bd_mount_sem (was Re: xfs_file_ioctl / ...
, David Chinner
, (Mon Jan 8, 7:47 pm)
Re: bd_mount_mutex -> bd_mount_sem (was Re: xfs_file_ioct...
, Andrew Morton
, (Mon Jan 8, 8:19 pm)
Re: bd_mount_mutex -> bd_mount_sem (was Re: xfs_file_ioct...
, Christoph Hellwig
, (Tue Jan 9, 6:02 am)
Re: bd_mount_mutex -> bd_mount_sem (was Re: xfs_file_ioct...
, Eric Sandeen
, (Mon Jan 8, 11:12 pm)
Re: bd_mount_mutex -> bd_mount_sem (was Re: xfs_file_ioct...
, Andrew Morton
, (Mon Jan 8, 11:18 pm)
Re: bd_mount_mutex -> bd_mount_sem (was Re: xfs_file_ioct...
, Eric Sandeen
, (Mon Jan 8, 11:38 pm)
Re: bd_mount_mutex -> bd_mount_sem (was Re: xfs_file_ioct...
, Andrew Morton
, (Mon Jan 8, 11:51 pm)
Re: bd_mount_mutex -> bd_mount_sem (was Re: xfs_file_ioct...
, Christoph Hellwig
, (Tue Jan 9, 6:04 am)
Re: bd_mount_mutex -> bd_mount_sem (was Re: xfs_file_ioct...
, David Chinner
, (Tue Jan 9, 9:34 pm)
Re: bd_mount_mutex -> bd_mount_sem (was Re: xfs_file_ioct...
, Nathan Scott
, (Tue Jan 9, 12:17 am)
Re: bd_mount_mutex -> bd_mount_sem (was Re: xfs_file_ioct...
, David Chinner
, (Tue Jan 9, 12:49 am)
Re: [**BULK SPAM**] Re: bd_mount_mutex -> bd_mount_sem (...
, Nathan Scott
, (Tue Jan 9, 2:02 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Linus Torvalds
Linux 2.6.27-rc8
Christoph Lameter
Re: Major regression on hackbench with SLUB (more numbers)
Mike Travis
Re: [RFC 00/15] x86_64: Optimize percpu accesses
git
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Hugh Dickins
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
556 guests
online.
Syndicate