Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

disk_util: allocate the maximum number of usable inodes - #379

Merged
marineam merged 1 commit into
coreos:masterfrom
marineam:inodes
Feb 12, 2015
Merged

marineam merged 1 commit into
coreos:masterfrom
marineam:inodes

Conversation

@marineam

Copy link
Copy Markdown
Contributor

This change changes the default 'bytes-per-inode' ration from 16K to 4K,
the block size. To prevent this from wasting too much space change the
inode size from the default 256 to the minimum size, 128. Larger inodes
are used to store extended attributes more efficiently but since we do
not use SELinux the majority of files do not have security attributes.

These defaults may be modified via the new bytes_per_inode and
inode_size options.

Fixes coreos/bugs#264

This change changes the default 'bytes-per-inode' ration from 16K to 4K,
the block size. To prevent this from wasting too much space change the
inode size from the default 256 to the minimum size, 128. Larger inodes
are used to store extended attributes more efficiently but since we do
not use SELinux the majority of files do not have security attributes.

These defaults may be modified via the new `bytes_per_inode` and
`inode_size` options.
@crawford

Copy link
Copy Markdown
Contributor

LGTM

marineam added a commit that referenced this pull request Feb 12, 2015
disk_util: allocate the maximum number of usable inodes
@marineam
marineam merged commit 5fdcb81 into coreos:master Feb 12, 2015
@marineam
marineam deleted the inodes branch February 12, 2015 01:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker overlayfs & ext4 excessive inode usage

2 participants