Message ID | 20200810101447.7380-1-den@openvz.org (mailing list archive) |
---|---|
Headers | show |
Series | block: add logging facility for long standing IO requests | expand |
On Mon, Aug 10, 2020 at 01:14:44PM +0300, Denis V. Lunev wrote: > There are severe delays with IO requests processing if QEMU is running in > virtual machine or over software defined storage. Such delays potentially > results in unpredictable guest behavior. For example, guests over IDE or > SATA drive could remount filesystem read-only if write is performed > longer than 10 seconds. > > Such reports are very complex to process. Some good starting point for this > seems quite reasonable. This patch provides one. It adds logging of such > potentially dangerous long IO operations. > > Changed from v2: > - removed accidentally added slirp subproject ID > - added comment describing timeout selection to patch 3 > > Changes from v1: > - fixed conversions using macros suggested by Stefan > - fixed option declaration > - enabled by default with patch 3 > > Signed-off-by: Denis V. Lunev <den@openvz.org> > CC: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> > CC: Kevin Wolf <kwolf@redhat.com> > CC: Max Reitz <mreitz@redhat.com> > CC: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
On 8/12/20 5:00 PM, Stefan Hajnoczi wrote: > On Mon, Aug 10, 2020 at 01:14:44PM +0300, Denis V. Lunev wrote: >> There are severe delays with IO requests processing if QEMU is running in >> virtual machine or over software defined storage. Such delays potentially >> results in unpredictable guest behavior. For example, guests over IDE or >> SATA drive could remount filesystem read-only if write is performed >> longer than 10 seconds. >> >> Such reports are very complex to process. Some good starting point for this >> seems quite reasonable. This patch provides one. It adds logging of such >> potentially dangerous long IO operations. >> >> Changed from v2: >> - removed accidentally added slirp subproject ID >> - added comment describing timeout selection to patch 3 >> >> Changes from v1: >> - fixed conversions using macros suggested by Stefan >> - fixed option declaration >> - enabled by default with patch 3 >> >> Signed-off-by: Denis V. Lunev <den@openvz.org> >> CC: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> >> CC: Kevin Wolf <kwolf@redhat.com> >> CC: Max Reitz <mreitz@redhat.com> >> CC: Stefan Hajnoczi <stefanha@redhat.com> > Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> ping
There are severe delays with IO requests processing if QEMU is running in virtual machine or over software defined storage. Such delays potentially results in unpredictable guest behavior. For example, guests over IDE or SATA drive could remount filesystem read-only if write is performed longer than 10 seconds. Such reports are very complex to process. Some good starting point for this seems quite reasonable. This patch provides one. It adds logging of such potentially dangerous long IO operations. Changed from v2: - removed accidentally added slirp subproject ID - added comment describing timeout selection to patch 3 Changes from v1: - fixed conversions using macros suggested by Stefan - fixed option declaration - enabled by default with patch 3 Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> CC: Kevin Wolf <kwolf@redhat.com> CC: Max Reitz <mreitz@redhat.com> CC: Stefan Hajnoczi <stefanha@redhat.com>