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