From: kernel test robot <lkp@intel.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: Re: [PATCH] block/blk-ioprio: Skip zoned writes that are not append operations
Date: Wed, 13 Dec 2023 05:26:07 +0800 [thread overview]
Message-ID: <202312130548.cusrlw1s-lkp@intel.com> (raw)
In-Reply-To: <d660cc31-a5be-47f2-9fdf-ba4bf5106226@acm.org>
Hi Bart,
kernel test robot noticed the following build errors:
[auto build test ERROR on axboe-block/for-next]
[also build test ERROR on linus/master v6.7-rc5 next-20231212]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Bart-Van-Assche/Re-PATCH-block-blk-ioprio-Skip-zoned-writes-that-are-not-append-operations/20231212-081223
base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
patch link: https://lore.kernel.org/r/d660cc31-a5be-47f2-9fdf-ba4bf5106226%40acm.org
patch subject: Re: [PATCH] block/blk-ioprio: Skip zoned writes that are not append operations
config: x86_64-rhel-8.3-func (https://download.01.org/0day-ci/archive/20231213/202312130548.cusrlw1s-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231213/202312130548.cusrlw1s-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312130548.cusrlw1s-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/t10-pi.h:6,
from include/scsi/scsi_cmnd.h:7,
from drivers/scsi/scsi.c:61:
include/linux/blk-mq.h: In function 'blk_bio_is_seq_zoned_write':
>> include/linux/blk-mq.h:1161:37: error: 'struct bio' has no member named 'bi_disk'
1161 | disk_zone_is_seq(bio->bi_disk, bio.bi_iter.bi_sector);
| ^~
>> include/linux/blk-mq.h:1161:51: error: 'bio' is a pointer; did you mean to use '->'?
1161 | disk_zone_is_seq(bio->bi_disk, bio.bi_iter.bi_sector);
| ^
| ->
vim +1161 include/linux/blk-mq.h
1151
1152 /**
1153 * blk_bio_is_seq_zoned_write() - Check if @bio requires write serialization.
1154 * @bio: Bio to examine.
1155 *
1156 * Note: REQ_OP_ZONE_APPEND bios do not require serialization.
1157 */
1158 static inline bool blk_bio_is_seq_zoned_write(struct bio *bio)
1159 {
1160 return op_needs_zoned_write_locking(bio_op(bio)) &&
> 1161 disk_zone_is_seq(bio->bi_disk, bio.bi_iter.bi_sector);
1162 }
1163
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2023-12-12 21:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-11 23:14 [PATCH] block/blk-ioprio: Skip zoned writes that are not append operations Bart Van Assche
2023-12-11 23:31 ` Damien Le Moal
2023-12-12 0:11 ` Bart Van Assche
2023-12-12 10:08 ` Damien Le Moal
2023-12-12 21:26 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202312130548.cusrlw1s-lkp@intel.com \
--to=lkp@intel.com \
--cc=bvanassche@acm.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.