linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* question regarding caching
@ 2013-12-31  2:24 Aastha Mehta
  2013-12-31  3:15 ` Kai Krakow
  2013-12-31 18:27 ` Austin S Hemmelgarn
  0 siblings, 2 replies; 7+ messages in thread
From: Aastha Mehta @ 2013-12-31  2:24 UTC (permalink / raw)
  To: linux-btrfs

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 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 device. I even tried to do
drop_caches after remounting the file system, but that does not seem
to help.

I guess my problem is not related to BTRFS, but since I am working
with BTRFS, I wanted to ask here for help. Could any one tell me how I
can ensure that requests are fetched from the (remote) device,
especially after file system remount, without having to use
drop_caches?

Please let me know if I described the problem too vaguely and should
give some more details.

Wishing everyone a happy new year.

Thanks and regards,
Aastha.

-- 
Aastha Mehta
MPI-SWS, Germany
E-mail: aasthakm@mpi-sws.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-01-07 14:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-31  2:24 question regarding caching Aastha Mehta
2013-12-31  3:15 ` Kai Krakow
2013-12-31 17:02   ` Alex Elsayed
2013-12-31 18:27 ` Austin S Hemmelgarn
2014-01-03  8:39   ` Sander
2014-01-03 12:12     ` Austin S Hemmelgarn
2014-01-07 14:50       ` Aastha Mehta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).