[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <B949434F-99F6-479F-BC76-E4E353E457FE@dilger.ca>
Date: Mon, 25 Jun 2012 22:54:31 -0600
From: Andreas Dilger <adilger@...ger.ca>
To: "Nelson, John R" <John_Nelson@...dent.uml.edu>
Cc: "linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>
Subject: Re: Inode and Block Allocation Policy
On 2012-06-25, at 11:56 AM, Nelson, John R wrote:
> i have a quick question about the block allocation in EXT4. I know that EXT4 trys to allocate the files blocks in the files inodes Block Group. But what does EXT4 do when say you have a 100GB Virtualbox image? Does the block allocator just keep allocating blocks in the groups next to the group the files inode is in?
Yes.
> Now say that the block group has no blocks but tons of free inodes, does the ext4 allocator use another block group to allocate the inode in or does it use the same block group the directorys inode is in despite no free blocks?
It checks the free blocks in addition to the free inodes.
Cheers, Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists