On 02/20/2015 01:03 PM, Bob Williams wrote:
/var/lib/btrfs/scrub.status.0b07b829-9a0e-44ab-89ee-14b36a45199e
(the last bit of the filename is the filesystem uuid)
Look for a line that ends with "finished:0" and change it to say
"finished:1"
Why does this data item even exist? The filesystem/kernel should know
whether a scrub is ongoing. Isn't is universally cheaper to do the
single IOCTL to ask the kernel whether a scrub is ongoing compared to
the open-and-parse of this file?
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html