gpfs vfs incorrectly returning offline status 'at random' in 3.6 and up

Jeremy Allison jra at samba.org
Fri Oct 5 10:35:21 MDT 2012


On Fri, Oct 05, 2012 at 03:22:07PM +0200, Christian Ambach wrote:
> On 09/28/2012 05:52 PM, Barry Evans wrote:
> 
> >Anything look interesting?
> 
> I think the lack of some config parameters is the interesting piece.
> gpfs:winattr defaults to false, so I guess the is_offline function
> operates on un-initialized memory.
> 
> The code in master/4.0 has a guard in vfs_gpfs_is_offline() that
> skips the checks if gpfs:winattr is disabled.
> 
> if (!config->winattr) {
> 	return SMB_VFS_NEXT_IS_OFFLINE(handle, fname, sbuf);
> }
> 
> That guard is not present in 3.6.

Raise a bug ? Let's get this fixed in 3.6.next.

Cheers,

	Jeremy.


More information about the samba-technical mailing list