Hello,
Once in a while I was getting this warning in dmesg ( kern.log ):
block drbd0: kvm[433746] Concurrent local write detected! [DISCARD L] new: 623356039s +8192; pending: 623356039s +8192
So I decided to study it more and I was able to trigger message whenever I was running sqlio benchmark tool in Windows 2003 guests.
I run a 2-node HA cluster with drbd as "shared" storage, however this message is about subsequent local (not from the other node) writes in the same location ( or overlapping locations, although in my case they were always identical: new and pending )
I run 6 Windows 2003r2 64-bit guests with virtio driver for disk with version 0-1.49 ( I am getting BSOD if I try to run any newer version ). So I am not sure if
this is a driver problem or something else, but I was able to get rid of these warnings after I activated caching "writethrough" for the virtual disks of the guests (in the proxmox gui).
The guest disks are raw-LVM on top of DRBD ( not using CLVM ). I have played a bit with all the settings ( https://pve.proxmox.com/wiki/Performance_Tweaks#Disk_Cache )
but only writethrough and writeback where the only ones that prevented this behaviour. Maybe somehow with this caching the I/O requests get properly queued. As far as I understood this message means that a subsequent request for the same location arrives before the first one gets completed.
I'll leave it like this for now, but if anyone can clarify what's going on it would be nice to know
Once in a while I was getting this warning in dmesg ( kern.log ):
block drbd0: kvm[433746] Concurrent local write detected! [DISCARD L] new: 623356039s +8192; pending: 623356039s +8192
So I decided to study it more and I was able to trigger message whenever I was running sqlio benchmark tool in Windows 2003 guests.
I run a 2-node HA cluster with drbd as "shared" storage, however this message is about subsequent local (not from the other node) writes in the same location ( or overlapping locations, although in my case they were always identical: new and pending )
I run 6 Windows 2003r2 64-bit guests with virtio driver for disk with version 0-1.49 ( I am getting BSOD if I try to run any newer version ). So I am not sure if
this is a driver problem or something else, but I was able to get rid of these warnings after I activated caching "writethrough" for the virtual disks of the guests (in the proxmox gui).
The guest disks are raw-LVM on top of DRBD ( not using CLVM ). I have played a bit with all the settings ( https://pve.proxmox.com/wiki/Performance_Tweaks#Disk_Cache )
but only writethrough and writeback where the only ones that prevented this behaviour. Maybe somehow with this caching the I/O requests get properly queued. As far as I understood this message means that a subsequent request for the same location arrives before the first one gets completed.
I'll leave it like this for now, but if anyone can clarify what's going on it would be nice to know
Last edited: