On 2020/6/24 下午7:00, David Sterba wrote: > On Wed, Jun 24, 2020 at 07:27:46AM +0800, Qu Wenruo wrote: >>> Remaining issues: >>> >>> - if the option was enabled, new inodes created, the option disabled >>> again, the cache is still stored on the devices and there's currently >>> no way to remove it >> >> What about "btrfs rescue remove-deprecated-feature inode_cache"? >> I really don't want kernel to do the hassle. > > Most likely we'll need both, the kernel part is for cases where it's not > so easy to access the filesystem unmounted to do the change. Like a root > partition. How to do that to be least intrusive is the open. > OK. Then what about do it in btrfs_orphan_cleanup()? It looks like a perfect match. Thanks, Qu
Attachment:
signature.asc
Description: OpenPGP digital signature
