Re: question regarding caching

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

 



On 2014-01-03 03:39, Sander wrote:
> Austin S Hemmelgarn wrote (ao):
>> The data is probably still cached in the block layer, so after 
>> unmounting, you could try 'echo 1 > /proc/sys/vm/drop_caches'
>> before mounting again, but make sure to run sync right before
>> doing that, otherwise you might lose data.
> 
> Lose data? Where you get this from?
> 
> Sander
> 
Sorry, misread the documentation, thought it said destructive where it
really said non-destructive.
It's still a good idea to run sync before trying to clear the caches
though, cause dirty objects aren't freeable.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux