commit | a47d6b70e280401d553e7cac6f5750870de1ad21 | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Thu May 26 06:38:30 2011 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Thu May 26 17:53:04 2011 -0400 |
tree | 2874064c08ecc65cdfda9b2a9fd9895eb73a011e | |
parent | 00d01bc17cc2807292303961519d9c005794eb1d [diff] |
Btrfs: setup free ino caching in a more asynchronous way For a filesystem that has lots of files in it, the first time we mount it with free ino caching support, it can take quite a long time to setup the caching before we can create new files. Here we fill the cache with [highest_ino, BTRFS_LAST_FREE_OBJECTID] before we start the caching thread to search through the extent tree. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>