Context |
Check |
Description |
mdraidci/vmtest-md-6_11-PR |
fail
|
PR summary
|
mdraidci/vmtest-md-6_11-VM_Test-0 |
success
|
Logs for Lint
|
mdraidci/vmtest-md-6_11-VM_Test-1 |
success
|
Logs for ShellCheck
|
mdraidci/vmtest-md-6_11-VM_Test-8 |
fail
|
Logs for x86_64-gcc / test (test_progs, false, 360) / test_progs on x86_64 with gcc
|
mdraidci/vmtest-md-6_11-VM_Test-9 |
fail
|
Logs for x86_64-gcc / test (test_progs_no_alu32, false, 360) / test_progs_no_alu32 on x86_64 with gcc
|
mdraidci/vmtest-md-6_11-VM_Test-10 |
success
|
Logs for x86_64-gcc / test (test_progs_no_alu32_parallel, true, 30) / test_progs_no_alu32_parallel on x86_64 with gcc
|
mdraidci/vmtest-md-6_11-VM_Test-11 |
success
|
Logs for x86_64-gcc / test (test_progs_parallel, true, 30) / test_progs_parallel on x86_64 with gcc
|
mdraidci/vmtest-md-6_11-VM_Test-3 |
success
|
Logs for Validate matrix.py
|
mdraidci/vmtest-md-6_11-VM_Test-2 |
success
|
Logs for Unittests
|
mdraidci/vmtest-md-6_11-VM_Test-12 |
success
|
Logs for x86_64-gcc / test (test_verifier, false, 360) / test_verifier on x86_64 with gcc
|
mdraidci/vmtest-md-6_11-VM_Test-5 |
success
|
Logs for x86_64-gcc / build / build for x86_64 with gcc
|
mdraidci/vmtest-md-6_11-VM_Test-6 |
success
|
Logs for x86_64-gcc / build-release
|
mdraidci/vmtest-md-6_11-VM_Test-4 |
success
|
Logs for set-matrix
|
mdraidci/vmtest-md-6_11-VM_Test-7 |
success
|
Logs for x86_64-gcc / test (test_maps, false, 360) / test_maps on x86_64 with gcc
|
mdraidci/vmtest-md-6_11-VM_Test-13 |
fail
|
Logs for x86_64-gcc / veristat / veristat on x86_64 with gcc
|
mdraidci/vmtest-md-6_11-VM_Test-14 |
success
|
Logs for x86_64-llvm-17 / build / build for x86_64 with llvm-17
|
mdraidci/vmtest-md-6_11-VM_Test-15 |
success
|
Logs for x86_64-llvm-17 / build-release / build for x86_64 with llvm-17 and -O2 optimization
|
mdraidci/vmtest-md-6_11-VM_Test-16 |
success
|
Logs for x86_64-llvm-17 / test (test_maps, false, 360) / test_maps on x86_64 with llvm-17
|
mdraidci/vmtest-md-6_11-VM_Test-17 |
fail
|
Logs for x86_64-llvm-17 / test (test_progs, false, 360) / test_progs on x86_64 with llvm-17
|
mdraidci/vmtest-md-6_11-VM_Test-18 |
fail
|
Logs for x86_64-llvm-17 / test (test_progs_no_alu32, false, 360) / test_progs_no_alu32 on x86_64 with llvm-17
|
mdraidci/vmtest-md-6_11-VM_Test-19 |
success
|
Logs for x86_64-llvm-17 / test (test_verifier, false, 360) / test_verifier on x86_64 with llvm-17
|
mdraidci/vmtest-md-6_11-VM_Test-20 |
success
|
Logs for x86_64-llvm-17 / veristat
|
mdraidci/vmtest-md-6_11-VM_Test-21 |
success
|
Logs for x86_64-llvm-18 / build / build for x86_64 with llvm-18
|
mdraidci/vmtest-md-6_11-VM_Test-22 |
success
|
Logs for x86_64-llvm-18 / build-release / build for x86_64 with llvm-18 and -O2 optimization
|
mdraidci/vmtest-md-6_11-VM_Test-23 |
success
|
Logs for x86_64-llvm-18 / test (test_maps, false, 360) / test_maps on x86_64 with llvm-18
|
mdraidci/vmtest-md-6_11-VM_Test-24 |
fail
|
Logs for x86_64-llvm-18 / test (test_progs, false, 360) / test_progs on x86_64 with llvm-18
|
mdraidci/vmtest-md-6_11-VM_Test-25 |
fail
|
Logs for x86_64-llvm-18 / test (test_progs_cpuv4, false, 360) / test_progs_cpuv4 on x86_64 with llvm-18
|
mdraidci/vmtest-md-6_11-VM_Test-26 |
fail
|
Logs for x86_64-llvm-18 / test (test_progs_no_alu32, false, 360) / test_progs_no_alu32 on x86_64 with llvm-18
|
mdraidci/vmtest-md-6_11-VM_Test-27 |
success
|
Logs for x86_64-llvm-18 / test (test_verifier, false, 360) / test_verifier on x86_64 with llvm-18
|
mdraidci/vmtest-md-6_11-VM_Test-28 |
success
|
Logs for x86_64-llvm-18 / veristat
|
@@ -479,9 +479,6 @@ bool bio_integrity_prep(struct bio *bio)
bip->bip_flags |= BIP_BLOCK_INTEGRITY;
bip_set_seed(bip, bio->bi_iter.bi_sector);
- if (bi->flags & BLK_INTEGRITY_IP_CHECKSUM)
- bip->bip_flags |= BIP_IP_CHECKSUM;
-
/* Map it */
offset = offset_in_page(buf);
for (i = 0; i < nr_pages && len > 0; i++) {
@@ -43,7 +43,7 @@
#include <linux/idr.h>
#include <linux/interrupt.h>
#include <linux/init.h>
-#include <linux/blkdev.h>
+#include <linux/blk-integrity.h>
#include <linux/blkpg.h>
#include <linux/blk-pm.h>
#include <linux/delay.h>
@@ -799,12 +799,12 @@ static unsigned char sd_setup_protect_cmnd(struct scsi_cmnd *scmd,
unsigned int dix, unsigned int dif)
{
struct request *rq = scsi_cmd_to_rq(scmd);
- struct bio *bio = rq->bio;
+ struct blk_integrity *bi = &rq->q->integrity;
unsigned int prot_op = sd_prot_op(rq_data_dir(rq), dix, dif);
unsigned int protect = 0;
if (dix) { /* DIX Type 0, 1, 2, 3 */
- if (bio_integrity_flagged(bio, BIP_IP_CHECKSUM))
+ if (bi->flags & BLK_INTEGRITY_IP_CHECKSUM)
scmd->prot_flags |= SCSI_PROT_IP_CHECKSUM;
scmd->prot_flags |= SCSI_PROT_GUARD_CHECK;
}
@@ -324,9 +324,8 @@ static inline void bio_next_folio(struct folio_iter *fi, struct bio *bio)
enum bip_flags {
BIP_BLOCK_INTEGRITY = 1 << 0, /* block layer owns integrity data */
BIP_MAPPED_INTEGRITY = 1 << 1, /* ref tag has been remapped */
- BIP_IP_CHECKSUM = 1 << 4, /* IP checksum */
- BIP_INTEGRITY_USER = 1 << 5, /* Integrity payload is user address */
- BIP_COPY_USER = 1 << 6, /* Kernel bounce buffer in use */
+ BIP_INTEGRITY_USER = 1 << 2, /* Integrity payload is user address */
+ BIP_COPY_USER = 1 << 3, /* Kernel bounce buffer in use */
};
/*
Remove the BIP_IP_CHECKSUM as sd can just look at the per-disk checksum type instead. Signed-off-by: Christoph Hellwig <hch@lst.de> --- block/bio-integrity.c | 3 --- drivers/scsi/sd.c | 6 +++--- include/linux/bio.h | 5 ++--- 3 files changed, 5 insertions(+), 9 deletions(-)