[Linux-cluster] gnbd and caching

Markus Hochholdinger Markus at hochholdinger.net
Tue Jul 24 15:34:16 UTC 2007


Hi,

i'm running some standalone gnbd servers (option -c) and i'm wondering where 
the (read-)caching of the gnbd happens and when/how the cache will be 
emptied.

As far as i understand it, the caching happens on the gnbd client. Is this 
correct?

If so, when will the cache of the gnbd client be emptied? Will it be emptied 
if no one accesses the device? Or will it be cached until the device is 
reimported (removed and imported)?

Are there other possibilities to clear the read cache? Are there possibilities 
to see how much data is cached (allocated memory of gnbd_recvd)? Or have i to 
look for linux page cache?


I'm using gnbd as network block devices for virtual hosts on other servers. 
These virtual hosts can be moved between several hardware, but i want to be 
sure no old (cached) data will be read by the virtual servers.


-- 
greetings

eMHa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20070724/4cf37168/attachment.sig>


More information about the Linux-cluster mailing list