[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Fix blkback/blktap sysfs read bug.



On Thu, 2010-01-21 at 02:49 -0500, Joe Jin wrote:

> > The reason is in sysfs_deactivate(), which will sync callers against any
> > remaining thread in .show()
> > - show() hangs on the lock
> > - the lock holder in sysfs_remove_group(), 
> >   waiting for show() to complete.
> > 
> > Pardon me -- I'm not entirely sure where/how these patches are currently
> > submitted and merged. I suppose yours are only for linux-2.6.18.hg, not
> > e.g. pvops? Then sorry for any confusion.
> > 
> 
> Daniel, 
> 
> Thanks a lot of your comments, it really help for me, yes my patch based 
> linux-2.6.18.hg branch. As Jan have pointed out in previous email, it should 
> be sysfs's issue, looked like later kernel sysfs have fixed the issue?

Yes. Later sysfs won't need the locking. Ordering sysfs removal before
backend release will be sufficient.

Daniel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.