public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Re: assfail during unmount xfs 2.6.24.3 [from 2.6.24.y git]
       [not found] <200803062329.10486.Chris.Knadle@coredump.us>
@ 2008-03-07 22:46 ` David Chinner
       [not found]   ` <200803081555.11695.Chris.Knadle@coredump.us>
  0 siblings, 1 reply; 3+ messages in thread
From: David Chinner @ 2008-03-07 22:46 UTC (permalink / raw)
  To: Chris Knadle; +Cc: linux-kernel, xfs

On Thu, Mar 06, 2008 at 11:29:07PM -0500, Chris Knadle wrote:
> During the final unmount before reboot there was an assertion failure from XFS 
> leading to the debug output below; I've included what was available on the 
> screendump, which I handwrote + transcribed.  [I also have screenshots from a 
> 2.1 MP camera -- they're slightly ugly but usable.]  CONFIG_KEXEC was not 
> compiled in, so I was uanble to get a crashdump via SysRq.  I'm sending this 
> along in case someone working on the XFS fs can find + fix a bug.  I'm not 
> sending the kernel config in this first post just as not to spam everybody 
> with it if it's not needed -- if desired just ask and I'll send it.
> Source used: 2.6.24.y from git -- 2.6.24.3.
> 
> This is on my Desktop box, x86 system -- single P4 CPU @ 2.6 GHz, IDE disk 
> attached to an onboard HighPoint HPT370 controller, and running Debian Sid.
> 
> When replying please CC me, as I am not currently subscribed to the list.
......
> Assertion failed: atomic_read(&mp->m_active_trans) == 0, file: 
> fs/xfs/xfs_vfsops.c, line: 708

Known problem. Race in the VFS w.r.t. read-only remounts:

http://marc.info/?l=linux-kernel&m=120106649923499&w=2

The fix for the problem lies outside XFS:

http://marc.info/?l=linux-kernel&m=120109304227035&w=2

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: assfail during unmount xfs 2.6.24.3 [from 2.6.24.y git]
       [not found]   ` <200803081555.11695.Chris.Knadle@coredump.us>
@ 2008-03-09 22:18     ` David Chinner
  2008-03-10  6:10       ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: David Chinner @ 2008-03-09 22:18 UTC (permalink / raw)
  To: Chris Knadle; +Cc: David Chinner, linux-kernel, xfs, hch

On Sat, Mar 08, 2008 at 03:55:08PM -0500, Chris Knadle wrote:
> On Friday 07 March 2008, David Chinner wrote:
> > On Thu, Mar 06, 2008 at 11:29:07PM -0500, Chris Knadle wrote:
> > > During the final unmount before reboot there was an assertion failure
> > > from XFS 
> ...
> > > When replying please CC me, as I am not currently subscribed to the list.
> ...
> > > Assertion failed: atomic_read(&mp->m_active_trans) == 0, file:
> > > fs/xfs/xfs_vfsops.c, line: 708
> 
>    Thank you for taking the time to look and reply to this.
> 
> > Known problem. Race in the VFS w.r.t. read-only remounts:
> >
> > http://marc.info/?l=linux-kernel&m=120106649923499&w=2
> 
>    At the bottom of the above message there's a patch which is not currently 
> merged in either the linux-2.6.24.y.git or linux-2.6.git trees.  That's 
> perhaps as it should be, but I would like to know if it's worth trying 
> merging the patch locally as an attempted workaround until such time as 
> 2.6.25 is released and stable.

Sure, the patch is harmless - I've had it running in my local tree for
quite some time now.

> 
> > The fix for the problem lies outside XFS:
> >
> > http://marc.info/?l=linux-kernel&m=120109304227035&w=2
> 
>    If I understand the above correctly, it sounds like the per-vfsmount is 
> going to be a new feature committed to 2.6.25, but probably not backported to 
> prior kernel trees.

Right.

> If this feature was was added at 2.6.23.9 then if I 
> understand corectly it's only an issue between that version and 2.6.25; is 
> that correct?

Only if the per-vfsmount writer counts got merged in 2.6.25-rcX. I'm not sure
that they did. Christoph?

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: assfail during unmount xfs 2.6.24.3 [from 2.6.24.y git]
  2008-03-09 22:18     ` David Chinner
@ 2008-03-10  6:10       ` Christoph Hellwig
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2008-03-10  6:10 UTC (permalink / raw)
  To: David Chinner; +Cc: Chris Knadle, linux-kernel, xfs, hch

On Mon, Mar 10, 2008 at 09:18:58AM +1100, David Chinner wrote:
> Only if the per-vfsmount writer counts got merged in 2.6.25-rcX. I'm not sure
> that they did. Christoph?

No, it didn't go in.  The new target is 2.6.26.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-10  6:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200803062329.10486.Chris.Knadle@coredump.us>
2008-03-07 22:46 ` assfail during unmount xfs 2.6.24.3 [from 2.6.24.y git] David Chinner
     [not found]   ` <200803081555.11695.Chris.Knadle@coredump.us>
2008-03-09 22:18     ` David Chinner
2008-03-10  6:10       ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox