Originally posted by NotMine999
View Post
Announcement
Collapse
No announcement yet.
Bcachefs Merges New On-Disk Format Version For Linux 6.11, Working Toward Defrag
Collapse
X
-
Originally posted by AndyChow View Post
I'm almost 100% sure this is the "famous" 32-bit problem. AFAIK right now bcachefs can only work in 64 bits, not 32 bit libraries like steam.
Comment
-
Originally posted by oleid View Post
Out of curiosity : what does the file system have to do with the bit length of userspace pointers? Would you elaborate, please?
bcachefs uses 64 bit inode numbers by default because we use the high bits of the inode number for sharding by CPU, which is a big help on multithreaded workloads - but there is an option for 32 bit inode numbers.
- Likes 8
Comment
-
Originally posted by EvilPiePirate View Post
Userspace sometimes uses the inode number in interesting ways (e.g. hardlink detection), and if userspace expects it to be 32 bits and the filesystem is using 64 bits things break.
bcachefs uses 64 bit inode numbers by default because we use the high bits of the inode number for sharding by CPU, which is a big help on multithreaded workloads - but there is an option for 32 bit inode numbers.
- Likes 1
Comment
-
Originally posted by EvilPiePirate View Post
Userspace sometimes uses the inode number in interesting ways (e.g. hardlink detection), and if userspace expects it to be 32 bits and the filesystem is using 64 bits things break.
bcachefs uses 64 bit inode numbers by default because we use the high bits of the inode number for sharding by CPU, which is a big help on multithreaded workloads - but there is an option for 32 bit inode numbers.
Comment
Comment