Better criteria for skipping disk reading BIO_READ work packets.
This commit is contained in:
parent
482e860dda
commit
5299f69145
@ -560,7 +560,8 @@ g_bde_worker(void *arg)
|
||||
("Illegal sector state (JUNK ?)"));
|
||||
}
|
||||
|
||||
if (wp->bp->bio_cmd == BIO_READ && wp->sp->state != VALID)
|
||||
if (wp->bp->bio_cmd == BIO_READ &&
|
||||
wp->sp->state == IO)
|
||||
continue;
|
||||
|
||||
if (wp->ksp != NULL && wp->ksp->error != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user