xen-blkback: Scheduled work from previous purge is still busy, cannot purge list
Hi All,
I am seeing the following message in the "dmesg" output of a driver domain.
[Thu Oct 8 20:57:04 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:11 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:44 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:44 2020] xen-blkback: Scheduled work from previous purge is
still busy, cannot purge list
Is this something to worry about? Or can I safely ignore this?
--
Joost
Quoted 11 lines · J. Roeleveld
Hi All,
I am seeing the following message in the "dmesg" output of a driver domain.
[Thu Oct 8 20:57:04 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:11 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:44 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:44 2020] xen-blkback: Scheduled work from previous purge is
Quoted 4 lines
still busy, cannot purge list
Is this something to worry about? Or can I safely ignore this?
What version of the Linux kernel are you running in that driver domain?
Is the domain very busy? That might explain the delay in purging grants.
Also is this an sporadic message, or it's constantly repeating?
Roger.
Please don't drop xen-devel mailing list when replying.
Quoted 37 lines · J. Roeleveld
Quoted 16 lines · CEST you
Quoted 15 lines · J. Roeleveld
Hi All,
I am seeing the following message in the "dmesg" output of a driver domain.
[Thu Oct 8 20:57:04 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:11 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:44 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:44 2020] xen-blkback: Scheduled work from previous purgeis still busy, cannot purge list
Quoted 4 lines
Quoted 1 line
Is this something to worry about? Or can I safely ignore this?
What version of the Linux kernel are you running in that driver domain?
Host:
Kernel: 5.4.66
Xen: 4.12.3Driver domain:
Kernel: 5.4.66
Xen: 4.12.3Quoted 2 lines
Is the domain very busy? That might explain the delay in purging grants.
No, it's generally asleep, been going through the munin-records and can't find any spikes the correlate with the messages either.
Quoted 6 lines
Quoted 1 line
Also is this an sporadic message, or it's constantly repeating?
It's sporadic, but occasionally, I get it several times in a row.
My understanding of the code where this message comes from is far from sufficient. Which means I have no clue what it is actually trying to do.
There's a recurrent worker thread in blkback that will go and purge unused cache entries after they have expired. This is done to prevent the cache from growing unbounded.
AFAICT this just means the worker is likely running faster than what you can proceed, and hence you get another worker run before the old entries have been removed. Should be safe to ignore, but makes me wonder if I should add a parameter to tune the periodicity of the purge work.
Roger.
Quoted 1 line · CEST Roger Pau Monné
Please don't drop xen-devel mailing list when replying.
My apologies, most mailing lists I am active on have a working "reply" button. Here I need to use "reply-all".
Quoted 52 lines · J. Roeleveld
Quoted 40 lines · CEST you
Quoted 20 lines · J. Roeleveld
Quoted 19 lines
Hi All,
I am seeing the following message in the "dmesg" output of a driver domain.
[Thu Oct 8 20:57:04 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:11 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:44 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:44 2020] xen-blkback: Scheduled work from previouspurge
is still busy, cannot purge listQuoted 4 lines
Quoted 1 line
Is this something to worry about? Or can I safely ignore this?
What version of the Linux kernel are you running in that driver domain?
Host:
Kernel: 5.4.66
Xen: 4.12.3Driver domain:
Kernel: 5.4.66
Xen: 4.12.3Quoted 2 lines
Is the domain very busy? That might explain the delay in purging grants.
No, it's generally asleep, been going through the munin-records and can't find any spikes the correlate with the messages either.
Quoted 6 lines
Quoted 1 line
Also is this an sporadic message, or it's constantly repeating?
It's sporadic, but occasionally, I get it several times in a row.
My understanding of the code where this message comes from is far from sufficient. Which means I have no clue what it is actually trying to do.
There's a recurrent worker thread in blkback that will go and purge unused cache entries after they have expired. This is done to prevent the cache from growing unbounded.
Quoted 5 lines
AFAICT this just means the worker is likely running faster than what you can proceed, and hence you get another worker run before the old entries have been removed. Should be safe to ignore, but makes me wonder if I should add a parameter to tune the periodicity of the purge work.
In other words, when it "fails" in this manner, the queue will simply be left and processed the next time?
How often does this currently run?
A parameter to tune the periodicity might be an option, for now I feel confident I can safely ignore these messages.
Thanks,
Joost
Quoted 59 lines · J. Roeleveld
Quoted 1 line · CEST Roger Pau Monné
Please don't drop xen-devel mailing list when replying.
My apologies, most mailing lists I am active on have a working "reply" button. Here I need to use "reply-all".
Quoted 52 lines · J. Roeleveld
Quoted 40 lines · CEST you
Quoted 20 lines · J. Roeleveld
Quoted 19 lines
Hi All,
I am seeing the following message in the "dmesg" output of a driver domain.
[Thu Oct 8 20:57:04 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:11 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:44 2020] xen-blkback: Scheduled work from previous purge is still busy, cannot purge list [Thu Oct 8 20:57:44 2020] xen-blkback: Scheduled work from previouspurge
is still busy, cannot purge listQuoted 4 lines
Quoted 1 line
Is this something to worry about? Or can I safely ignore this?
What version of the Linux kernel are you running in that driver domain?
Host:
Kernel: 5.4.66
Xen: 4.12.3Driver domain:
Kernel: 5.4.66
Xen: 4.12.3Quoted 2 lines
Is the domain very busy? That might explain the delay in purging grants.
No, it's generally asleep, been going through the munin-records and can't find any spikes the correlate with the messages either.
Quoted 6 lines
Quoted 1 line
Also is this an sporadic message, or it's constantly repeating?
It's sporadic, but occasionally, I get it several times in a row.
My understanding of the code where this message comes from is far from sufficient. Which means I have no clue what it is actually trying to do.
There's a recurrent worker thread in blkback that will go and purge unused cache entries after they have expired. This is done to prevent the cache from growing unbounded.
Quoted 8 lines
Quoted 5 lines
AFAICT this just means the worker is likely running faster than what you can proceed, and hence you get another worker run before the old entries have been removed. Should be safe to ignore, but makes me wonder if I should add a parameter to tune the periodicity of the purge work.
In other words, when it "fails" in this manner, the queue will simply be left and processed the next time?
Yes, exactly.
Quoted 1 line
How often does this currently run?
The purge worked will run every 100ms, and the queued work should be terminated before the next run.
Quoted 2 lines
A parameter to tune the periodicity might be an option, for now I feel confident I can safely ignore these messages.
Sure, I'm testing a patch series to that effect now.
Thanks, Roger.