[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: When is a block free?
- From: Ric Wheeler <rwheeler redhat com>
- To: Chris Worley <worleys gmail com>
- Cc: ext3-users redhat com
- Subject: Re: When is a block free?
- Date: Tue, 16 Sep 2008 16:17:12 -0400
Chris Worley wrote:
Where in the ext2/3 code does it know that a block on the disk is now
free to reuse?
Thanks,
Chris
Hi Chris,
File systems track which blocks are free from the file system creation
time (mkfs), creation of new files and deletion. Ext2/3 is the
gatekeeper for all deletions, so it knows when file system blocks
transition from the used state to the free state. Ext file system use
bitmaps to track the blocks that are allocated or not.
Regards,
Ric
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]