Re: question regarding caching

2014-01-03 Thread Sander
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

Re: question regarding caching

2014-01-03 Thread Austin S Hemmelgarn
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

Re: question regarding caching

2013-12-31 Thread Alex Elsayed
Kai Krakow wrote: Aastha Mehta aasth...@gmail.com schrieb: Rather than a local disk, I have a remote device to which my IO requests are sent and from which the data is fetched. I need certain data to be fetched from the remote device after a remount. But somehow I do not see any request

Re: question regarding caching

2013-12-31 Thread Austin S Hemmelgarn
On 12/30/2013 09:24 PM, Aastha Mehta wrote: Hello, I have some questions regarding caching in BTRFS. When a file system is unmounted and mounted again, would all the previously cached content be removed from the cache after flushing to disk? After remounting, would the initial requests

question regarding caching

2013-12-30 Thread Aastha Mehta
Hello, I have some questions regarding caching in BTRFS. When a file system is unmounted and mounted again, would all the previously cached content be removed from the cache after flushing to disk? After remounting, would the initial requests always be fetched from the disk? Rather than a local

Re: question regarding caching

2013-12-30 Thread Kai Krakow
Aastha Mehta aasth...@gmail.com schrieb: Rather than a local disk, I have a remote device to which my IO requests are sent and from which the data is fetched. I need certain data to be fetched from the remote device after a remount. But somehow I do not see any request appearing at the