for-2.6.32/bug-fixes
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Konrad Rzeszutek Wilk 05/17/11 6:44 PM >>>
Quoted 11 lines · Jan Beulich
Quoted 10 lines
Quoted 6 lines
Quoted 2 lines · Konrad Rzeszutek Wilk
No attaching of data to the barrier.
Sure, this direction we agree about. But your change is enforcing it the other way around (if barrier then no data), which wasn't the case so far.
OK, even if the code that actually does the bio submission does not attach any data to the bio? The end result is the same - no data with barriers.
Quoted 5 lines
Quoted 2 lines
My problem is that I can't see where attaching data would be skipped. The only thing I see is the
BUG_ON()you pointed atWell,
req->ns_segments= 0, so nseg is zero, which means all of those for loops never get executed.
This you say is the case for the request you saw the failure with, or *all* barrier requests? In the latter case, what do you conclude this from?
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 5 lines
Quoted 2 lines
Well,
req->ns_segments= 0, so nseg is zero, which means all of those for loops never get executed.This you say is the case for the request you saw the failure with, or *all* barrier requests? In the latter case, what do you conclude this
Good question. It was the first barrier request sent when guest tried to mount the filesystem. I will instrument the code to see what the other barriers contained when they were sent.
Quoted 1 line
from?
Quoted 10 lines
Quoted 6 lines
Quoted 3 lines · Konrad Rzeszutek Wilk
Well,
req->ns_segments= 0, so nseg is zero, which means all of those for loops never get executed.This you say is the case for the request you saw the failure with, or *all* barrier requests? In the latter case, what do you conclude this
Good question. It was the first barrier request sent when guest tried to mount the filesystem. I will instrument the code to see what the other barriers contained when they were sent.
That wouldn't tell you anything if they're all empty, as there's nothing preventing other guests (including other guest OSes) to still send non-empty ones - after all the protocol allows for this.
Jan
Quoted 1 line
Quoted 1 line
from?
Quoted 7 lines · Jan Beulich
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines · Konrad Rzeszutek Wilk
Well,
req->ns_segments= 0, so nseg is zero, which means all of those for loops never get executed.This you say is the case for the request you saw the failure with, or *all* barrier requests? In the latter case, what do you conclude this
Quoted 7 lines
Quoted 3 lines
Good question. It was the first barrier request sent when guest tried to mount the filesystem. I will instrument the code to see what the other barriers contained when they were sent.
That wouldn't tell you anything if they're all empty, as there's nothing preventing other guests (including other guest OSes) to still send non-empty ones - after all the protocol allows for this.
Aha! That is what you been trying to tell me. I will make a patch to make sure to not overwrite the req->sector_number blindly. What other guest OSes use barriers? I looked at Solaris (it uses 'feature-flush-cache'), NetBSD ('feature-flush-cache') and Linux ('feature-barrier' and now in 2.6.40 'feature-flush-cache').
The GPLV Windows drivers have no barrier implementation - do you know if the Novell ones are using barriers?
Quoted 13 lines
Quoted 1 line
Quoted 1 line · Konrad Rzeszutek Wilk
Quoted 11 lines · Jan Beulich
Quoted 10 lines
Quoted 6 lines
Quoted 3 lines · Konrad Rzeszutek Wilk
Well,
req->ns_segments= 0, so nseg is zero, which means all of those for loops never get executed.This you say is the case for the request you saw the failure with, or *all* barrier requests? In the latter case, what do you conclude this
Good question. It was the first barrier request sent when guest tried to mount the filesystem. I will instrument the code to see what the other barriers contained when they were sent.
Quoted 6 lines
Quoted 3 lines
That wouldn't tell you anything if they're all empty, as there's nothing preventing other guests (including other guest OSes) to still send non-empty ones - after all the protocol allows for this.
Aha! That is what you been trying to tell me. I will make a patch to make sure to not overwrite the
req->sector_numberblindly. What other guest OSes
Or use the patch I proposed?
Quoted 6 lines
use barriers? I looked at Solaris (it uses 'feature-flush-cache'), NetBSD ('feature-flush-cache') and Linux ('feature-barrier' and now in 2.6.40 'feature-flush-cache').
The GPLV Windows drivers have no barrier implementation - do you know if the Novell ones are using barriers?
No, I don't.
Jan
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
That wouldn't tell you anything if they're all empty, as there's nothing preventing other guests (including other guest OSes) to still send non-empty ones - after all the protocol allows for this.
Aha! That is what you been trying to tell me. I will make a patch to make sure to not overwrite the
req->sector_numberblindly. What other guest OSesOr use the patch I proposed?
Yes. Much superior to mine.
Quoted 9 lines
Quoted 7 lines
use barriers? I looked at Solaris (it uses 'feature-flush-cache'), NetBSD ('feature-flush-cache') and Linux ('feature-barrier' and now in 2.6.40 'feature-flush-cache').
The GPLV Windows drivers have no barrier implementation - do you know if the Novell ones are using barriers?
No, I don't.
Any idea who might know?
Quoted 16 lines
Quoted 9 lines
Quoted 7 lines · Konrad Rzeszutek Wilk
Quoted 3 lines
That wouldn't tell you anything if they're all empty, as there's nothing preventing other guests (including other guest OSes) to still send non-empty ones - after all the protocol allows for this.
Aha! That is what you been trying to tell me. I will make a patch to make sure to not overwrite the
req->sector_numberblindly. What other guest OSesOr use the patch I proposed?
Yes. Much superior to mine.
Quoted 5 lines
Quoted 5 lines
use barriers? I looked at Solaris (it uses 'feature-flush-cache'), NetBSD ('feature-flush-cache') and Linux ('feature-barrier' and now in 2.6.40 'feature-flush-cache').
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
The GPLV Windows drivers have no barrier implementation - do you know if the Novell ones are using barriers?
No, I don't.
Any idea who might know?
Kirk should.
Jan