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:
parent
9be8d37600
commit
d405bb2264
|
@ -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() ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue