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@xxxxxxxxxx> NON STOP Systems
Attachment:
signature.asc
Description: This is a digitally signed message part
-- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel