A question about freeing a free block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all:


I have a question about freeing a free block, in ext3_free_branches(ext3/inode.c). When ext3 want to free the top of a 

subtree, it first forget it, then extend the handle to make sure clearing the address of the top to be atomic in the journal

 with the updating of the bitmap block which owns it. If extend_transaction() fails, freeing the top will be another 

transaction, then the blocks pointed by this top are probably re-released by ext3_orphan_cleanup(). But when freeing a free 

block happens, a ext3_error() will be called and ext3_handle_error() will mark a error on super block. Isn't it too strict?


Thanks to anyone who give help.


Mingyang Guo 

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux