Signed-off-by: Karel Zak <kzak@redhat.com>
/* check if first and last usable LBAs with the disk's last LBA */
if (fu > lastlba || lu > lastlba) {
- DBG(GPT, ul_debug("error: header LBAs are after the disk's last LBA"));
+ DBG(GPT, ul_debug("error: header LBAs are after the disk's last LBA (%ju..%ju)",
+ (uintmax_t) fu, (uintmax_t) lu));
goto done;
}
if (rc == 0)
break; /* success */
- if (errno == EBUSY && !hasdev && ntries < 16) {
+ if (errno == EBUSY && !hasdev && ntries < 64) {
xusleep(200000);
ntries++;
continue;