On Tue, Dec 12, 2023 at 07:11:48PM +0800, Hongyu Jin wrote: > static void use_dmio(struct dm_buffer *b, enum req_op op, sector_t sector, > - unsigned int n_sectors, unsigned int offset) > + unsigned int n_sectors, unsigned int offset, unsigned short ioprio) The ioprio argument to this function is unused. > bool dm_bm_is_read_only(struct dm_block_manager *bm) > diff --git a/include/linux/dm-bufio.h b/include/linux/dm-bufio.h > index 75e7d8cbb532..d270d48891f7 100644 > --- a/include/linux/dm-bufio.h > +++ b/include/linux/dm-bufio.h > @@ -11,6 +11,7 @@ > #define _LINUX_DM_BUFIO_H > > #include <linux/blkdev.h> > +#include <linux/ioprio.h> > #include <linux/types.h> It's not necessary to include linux/ioprio.h here. - Eric