All of lore.kernel.org
 help / color / mirror / Atom feed
* dm-cache caching network volume
@ 2013-06-18  9:32 Étienne BERSAC
  2013-06-19  1:23 ` Alex Elsayed
  2014-09-09 15:47 ` Joe Thornber
  0 siblings, 2 replies; 6+ messages in thread
From: Étienne BERSAC @ 2013-06-18  9:32 UTC (permalink / raw)
  To: dm-devel


[-- Attachment #1.1: Type: text/plain, Size: 907 bytes --]

Hi,

I'm testing dm-cache for using a local SSD as a cache for a network
volume. My goal is to test dm-cache behaviour when network is down.

The device is shared through iSCSI. The first test is filling a huge
file with dd from /dev/zero. So, this is sequential access. While dd is
running, i remove the tun iface from the bridge on the host. iSCSI
properly detects the network failure.

I expected dm-cache to continue filling dirty blocks, even if the
network device is blocking. But it doesn't. The status shows that dirty
blocks count stays the same. dd is blocking.

I'm wondering if there is some cache desactivation due to
sequential_threshold. But increasing sequential_threshold did not help.
Where does dm-cache blocks ?

Is it possible to have dm-cache "bufferize" blocks for network
failures ?

Regards,
-- 
Étienne BERSAC <etienne.bersac@nonstop.fr>
NON STOP Systems

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.51.1371657606.18923.dm-devel@redhat.com>]

end of thread, other threads:[~2014-09-09 15:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-18  9:32 dm-cache caching network volume Étienne BERSAC
2013-06-19  1:23 ` Alex Elsayed
2013-06-19  2:07   ` Alex Elsayed
2013-06-19 16:44     ` Darrick J. Wong
2014-09-09 15:47 ` Joe Thornber
     [not found] <mailman.51.1371657606.18923.dm-devel@redhat.com>
2013-06-20  9:31 ` Étienne BERSAC

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.