Re: [NFS] [PATCH 10/10] gfs2: nfs lock support for gfs2

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

 



On Thu, Dec 07, 2006 at 07:43:48AM -0800, Marc Eshel wrote:
> nfs-bounces@xxxxxxxxxxxxxxxxxxxxx wrote on 12/07/2006 07:23:59 AM:
> 
> > On Wed, Dec 06, 2006 at 10:47:46PM -0800, Marc Eshel wrote:
> > >    if (!rv) { /* got fs lock */
> > >        rv = posix_lock_file(file, fl);
> > >        if (rv) { /* did not get posix lock */
> > 
> > If we never request the local lock until after we've gotten the lock
> > from GFS, then this should never happen.  So I think this could just be
> > a BUG_ON(rv)--except that would mean a failure in the lock manager could
> > oops the kernel, so maybe it'd be better just to printk.
> 
> It can happen if you can not allocate memory. 

OK, you're right.

Hm, the NFS client just seems to print out a warning at this point,
though.

--b.
-
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