Hi pals, I''m now looking into zfs source and have been puzzled about 128-bit. It''s announced that ZFS is an 128-bit file system. But what does 128-bit mean? Does that mean the addressing capability is 2^128? But in the source, ''zp_size'' (in ''struct znode_phys''), the file size in bytes, is defined as uint64_t. So I guess 128-bit may be the bit width of the zpool pointer, but where is it defined? Regards, Wu Shu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20090923/4b9c2616/attachment.html>
http://en.wikipedia.org/wiki/ZFS Shu Wu wrote: Hi pals, I''m now looking into zfs source and have been puzzled about 128-bit. It''s announced that ZFS is an 128-bit file system. But what does 128-bit mean? Does that mean the addressing capability is 2^128? But in the source, ''zp_size'' (in ''struct znode_phys''), the file size in bytes, is defined as uint64_t. So I guess 128-bit may be the bit width of the zpool pointer, but where is it defined? Regards, Wu Shu -- Trevor Pretty | Technical Account Manager | +64 9 639 0652 | +64 21 666 161 Eagle Technology Group Ltd. Gate D, Alexandra Park, Greenlane West, Epsom Private Bag 93211, Parnell, Auckland www.eagle.co.nz This email is confidential and may be legally privileged. If received in error please destroy and immediately notify us. _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
http://blogs.sun.com/bonwick/entry/128_bit_storage_are_you Trevor Pretty wrote: http://en.wikipedia.org/wiki/ZFS Shu Wu wrote: Hi pals, I''m now looking into zfs source and have been puzzled about 128-bit. It''s announced that ZFS is an 128-bit file system. But what does 128-bit mean? Does that mean the addressing capability is 2^128? But in the source, ''zp_size'' (in ''struct znode_phys''), the file size in bytes, is defined as uint64_t. So I guess 128-bit may be the bit width of the zpool pointer, but where is it defined? Regards, Wu Shu -- Trevor Pretty | Technical Account Manager | +64 9 639 0652 | +64 21 666 161 Eagle Technology Group Ltd. Gate D, Alexandra Park, Greenlane West, Epsom Private Bag 93211, Parnell, Auckland -- Trevor Pretty | Technical Account Manager | +64 9 639 0652 | +64 21 666 161 Eagle Technology Group Ltd. Gate D, Alexandra Park, Greenlane West, Epsom Private Bag 93211, Parnell, Auckland www.eagle.co.nz This email is confidential and may be legally privileged. If received in error please destroy and immediately notify us. _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
On 23.09.09 05:57, Shu Wu wrote:> Hi pals, I''m now looking into zfs source and have been puzzled about > 128-bit. It''s announced that ZFS is an 128-bit file system. But what > does 128-bit mean? Does that mean the addressing capability is 2^128? > But in the source, ''zp_size'' (in ''struct znode_phys''), the file size in > bytes, is defined as uint64_t. So I guess 128-bit may be the bit width > of the zpool pointer, but where is it defined?http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/zfs/sys/spa.h#119
*" typedef* *struct* blkptr<http://src.opensolaris.org/source/s?refs=blkptr&project=/onnv>{ 177 dva_t<http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/zfs/sys/spa.h#dva_t> blk_dva <http://src.opensolaris.org/source/s?refs=blk_dva&project=/onnv>[3]; /* *128-bit Data Virtual Address* */ 178 uint64_t<http://src.opensolaris.org/source/s?defs=uint64_t&project=/onnv> blk_prop <http://src.opensolaris.org/source/s?refs=blk_prop&project=/onnv>; /* size, compression, type, etc */" That''s exactly what I want! Many thanks to Victor! Best Regards, Wu Shu 2009/10/7 Victor Latushkin <Victor.Latushkin at sun.com>> On 23.09.09 05:57, Shu Wu wrote: > >> Hi pals, I''m now looking into zfs source and have been puzzled about >> 128-bit. It''s announced that ZFS is an 128-bit file system. But what does >> 128-bit mean? Does that mean the addressing capability is 2^128? But in the >> source, ''zp_size'' (in ''struct znode_phys''), the file size in bytes, is >> defined as uint64_t. So I guess 128-bit may be the bit width of the zpool >> pointer, but where is it defined? >> > > > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/zfs/sys/spa.h#119 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20091007/f5ae72ea/attachment.html>