[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231213050012.GD1127@sol.localdomain>
Date: Tue, 12 Dec 2023 21:00:12 -0800
From: Eric Biggers <ebiggers@...nel.org>
To: Hongyu Jin <hongyu.jin.cn@...il.com>
Cc: agk@...hat.com, snitzer@...nel.org, mpatocka@...hat.com,
axboe@...nel.dk, zhiguo.niu@...soc.com, ke.wang@...soc.com,
yibin.ding@...soc.com, hongyu.jin@...soc.com,
linux-kernel@...r.kernel.org, dm-devel@...ts.linux.dev,
linux-block@...r.kernel.org
Subject: Re: [PATCH v4 3/5] dm-bufio: Support I/O priority
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
Powered by blists - more mailing lists