OpenSolaris

Printable Version Enter a New Search
Bug ID 6589250
Synopsis zfs_vfsops.h comments about NFSv3's filehandles is out of date
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords
Responsible Engineer Eric Kustarz
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_72
Fixed In snv_72
Release Fixed solaris_nevada(snv_72) , solaris_10u6(s10u6_01) (Bug ID:2156444)
Related Bugs
Submit Date 3-August-2007
Last Update Date 29-April-2008
Description
This comment:
"
/*
 * The total file ID size is limited to 12 bytes (including the length
 * field) in the NFSv2 protocol.  For historical reasons, this same limit
 * is currently being imposed by the Solaris NFSv3 implementation...
 * although the protocol actually permits a maximum of 64 bytes.  It will
 * not be possible to expand beyond 12 bytes without abandoning support
 * of NFSv2 and making some changes to the Solaris NFSv3 implementation.
 *
 * For the time being, we will partition up the available space as follows:
 *      2 bytes         fid length (required)
 *      6 bytes         object number (48 bits)
 *      4 bytes         generation number (32 bits)
 * We reserve only 48 bits for the object number, as this is the limit
 * currently defined and imposed by the DMU.
 */
typedef struct zfid_short {
"

Is a little off - in NFSv3, we do give out fids bigger than 12 bytes - but only for
snapshots under .zfs/snapshot.
Work Around
N/A
Comments
N/A