diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2009-01-04 02:43:38 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-01-30 06:34:36 -0500 |
commit | 7b24fc4d7eb611da367dea3aad45473050aacd6c (patch) | |
tree | 42c42a317c2236c45edf523ea0fc527189a5203d /include/linux/bio.h | |
parent | f2257b70b0f9b2fe8f2afd83fc6798dca75930b8 (diff) |
block: Don't verify integrity metadata on read error
If we get an I/O error on a read request there is no point in doing a
verify pass on the integrity buffer. Adjust the completion path
accordingly.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r-- | include/linux/bio.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index 18462c5b8fff..18fc4a281a7b 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h | |||
@@ -312,7 +312,6 @@ struct bio_integrity_payload { | |||
312 | void *bip_buf; /* generated integrity data */ | 312 | void *bip_buf; /* generated integrity data */ |
313 | bio_end_io_t *bip_end_io; /* saved I/O completion fn */ | 313 | bio_end_io_t *bip_end_io; /* saved I/O completion fn */ |
314 | 314 | ||
315 | int bip_error; /* saved I/O error */ | ||
316 | unsigned int bip_size; | 315 | unsigned int bip_size; |
317 | 316 | ||
318 | unsigned short bip_pool; /* pool the ivec came from */ | 317 | unsigned short bip_pool; /* pool the ivec came from */ |