ext4

Scalability of Ext4

One of the features of the file system Ext4 is its new Scalability features documented here. I was wondering what changes at the source code level would enable Ext4 to support such features, like the virtually unlimited number of sub directories which Ext3 didn't. Pointers to the relevant areas of the Kernel source tree would be greatly ...

How many bytes per inodes?

HI, I need to create a very high number of files which are not very large (like 4kb,8kb). It's not possible on my computer cause it takes all inodes up to 100% and I cannot create more files : -bash-4.0$ df -i /dev/sda5 Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda5 54362112 36381206 17980906 67% /...

How to durably rename a file in POSIX?

What's the correct way to durably rename a file in a POSIX file system? Specifically wondering about fsyncs on the directories. Note: there are other questions on StackOverflow about durable renames, but AFAICT they don't address fsync-ing the directories (which is what matters to me - I'm not even modifying file data). I currently ha...

How does the length of a filename affect remaining storage space on a disk?

How does the length of a filename affect remaining storage space on a disk? I realize this is filesystem dependent. In particular I am thinking about the EXT series of file systems. I don't fully understand how inodes affect disk space and how the filename itself is stored. It's difficult to get relevant search results for this question...