mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-11 20:58:50 +03:00
Since there could be multiple readers of kmsg (test & journald) it needs to be fast, to capture things like sysrq trace. But to capture whole output it would need to prioritize reading of kmsg, thus we would first log kernel messages and followed by command output. As a trade-off always log command output first and use large drain buffer so is captures most of messages, but occasionaly miss some lines.