RE: NFSv4 memory allocation bug?

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

 



Hi all,

After a month or so struggling with this, and some other problems with NFSD
in my "old" kernel (2.6.16.60-0.39.3-smp) related with MTUs larger than 1500
stalling the server, I think I have found something related with my
inability to serve v4 filesystems:

In /usr/src/linux/include/linux/nfsd/const.h there is this defined:
/*
 * Maximum protocol version supported by knfsd
 */
#define NFSSVC_MAXVERS          3

And in /usr/src/linux/fs/nfsd/nfsctl.c we can find this:
err = -EINVAL;
if (data->gd_version < 2 || data->gd_version > NFSSVC_MAXVERS)
   goto out;
...
out:
        return err;


And I found exactly the same in 2.6.34.7

Is this "real" or some old thing that is no longer used and I shouldn't
worry about?


Thanks in advance,

Txema


--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux