Provide comment for btrfs::clear_cache() call

Explain why the implementation uses a clear_cache() call, rather than a
straight load_cache() call.  This commit from 2014-02-17 implemented
incremental loading of the btrfs device cache:
    76e64f2905
    Detect busy status of multi-device btrfs file systems (#723842)
This commit is contained in:
Mike Fleetwood 2015-06-08 17:53:24 +01:00 committed by Curtis Gedak
parent 9be8d37600
commit d405bb2264
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ void GParted_Core::set_devices_thread( std::vector<Device> * pdevices )
FS_Info fs_info( true ) ; //Refresh cache of file system information
DMRaid dmraid( true ) ; //Refresh cache of dmraid device information
LVM2_PV_Info::clear_cache(); // Cache automatically loaded if and when needed
btrfs::clear_cache() ;
btrfs::clear_cache(); // Cache incrementally loaded if and when needed
init_maps() ;