-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrub "issued" value skyrockets #8800
Labels
Type: Defect
Incorrect behavior (e.g. crash, hang)
Comments
Supposedly fixed by #8766 |
Supposedly, but this is running rc5 and it still does it. |
(Same scrub) |
Okay, applied, rebuilt, and looking much more sane.
(I don't know why, but I thought this was an older issue and the fixed merged already) |
behlendorf
pushed a commit
that referenced
this issue
Jun 7, 2019
Currently, count_block() does not correctly account for the possibility that the bp that is passed to it could be embedded. These blocks shouldn't be counted since the work of scanning these blocks in already handled when the containing block is scanned. This patch simply resolves this issue by returning early in this case. Reviewed by: Allan Jude <allanjude@freebsd.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Authored-by: Bill Sommerfeld <sommerfeld@alum.mit.edu> Signed-off-by: Tom Caputi <tcaputi@datto.com> Closes #8800 Closes #8766
allanjude
pushed a commit
to allanjude/zfs
that referenced
this issue
Jun 7, 2019
Currently, count_block() does not correctly account for the possibility that the bp that is passed to it could be embedded. These blocks shouldn't be counted since the work of scanning these blocks in already handled when the containing block is scanned. This patch simply resolves this issue by returning early in this case. Reviewed by: Allan Jude <allanjude@freebsd.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Authored-by: Bill Sommerfeld <sommerfeld@alum.mit.edu> Signed-off-by: Tom Caputi <tcaputi@datto.com> Closes openzfs#8800 Closes openzfs#8766
allanjude
pushed a commit
to allanjude/zfs
that referenced
this issue
Jun 15, 2019
Currently, count_block() does not correctly account for the possibility that the bp that is passed to it could be embedded. These blocks shouldn't be counted since the work of scanning these blocks in already handled when the containing block is scanned. This patch simply resolves this issue by returning early in this case. Reviewed by: Allan Jude <allanjude@freebsd.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Authored-by: Bill Sommerfeld <sommerfeld@alum.mit.edu> Signed-off-by: Tom Caputi <tcaputi@datto.com> Closes openzfs#8800 Closes openzfs#8766
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(I swear there should be an issue for this already, but I couldn't find it)
System information
Describe the problem you're observing
The pool size of 32.7T is correct, but 1.11P for the amount of scan issued is clearly incorrect. Similarly the 3,475% completion
Describe how to reproduce the problem
I just started a scrub and it happened as soon as I checked the status.
Other pool info:
Pool previously had encrypted datasets which were all destroyed for errata 4, but not restored yet.
The md100 and md101 devices are mdadm RAID-6 of 12 disks each, though of mismatched sizes. I'm accepting the performance hit. The arrays appear healthy.
Include any warning/errors/backtraces from the system logs
Import was slow enough to set off the "blocked for 120s" alarms, but for these drives and the enclosures they are in this isn't a complete surprise.
The text was updated successfully, but these errors were encountered: