Re: Orangefs ABI documentation

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

 



On Sun, Feb 07, 2016 at 01:38:35AM +0000, Al Viro wrote:
> > > As for the WARN_ONs, the waitqueue one is easy to hit when the
> > > client-core stops and restarts, you can see here where precopy_buffers
> > > started whining about the client-core, you can see that the client
> > > core restarted when the debug mask got sent back over, and then
> > > the WARN_ON in waitqueue gets hit:
> 
> > > [ 1239.198976] precopy_buffers: Failed to copy-in buffers. Please make
> > > sure that  the pvfs2-client is running. -14
> 
> Very interesting...
> 
> Looks like there's another bug in restart handling.  Namely, restart happening
> on write() tries to fetch more data from iter, without bothering to rewind to
> where it used to be.  That's where those -EFAULT are coming from.  Easy to fix,
> fortunately - on top of the double-free fix, apply the following:


BTW, could you try to reproduce that WARN_ON with these two patches added
and with bufmap debugging turned on?  Both double-free and lack of rewinding
are real; I can see scenarios where they would trigger, and I'm pretty sure
that the latter is triggering in your reproducer.  Moreover, I'm absolutely
sure that spurious dropping of bufmap references is happening there; what I'm
not sure is whether it was on this double-free or on something else...
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux