Linux block layer
 help / color / mirror / Atom feed
From: Chaitanya Kulkarni <chaitanyak@nvidia.com>
To: Nitesh Shetty <nj.shetty@samsung.com>
Cc: "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
	"axboe@kernel.dk" <axboe@kernel.dk>,
	"dlemoal@kernel.org" <dlemoal@kernel.org>,
	"johannes.thumshirn@wdc.com" <johannes.thumshirn@wdc.com>,
	"bvanassche@acm.org" <bvanassche@acm.org>,
	"vincent.fu@samsung.com" <vincent.fu@samsung.com>,
	Chaitanya Kulkarni <chaitanyak@nvidia.com>,
	"shinichiro.kawasaki@wdc.com" <shinichiro.kawasaki@wdc.com>,
	"error27@gmail.com" <error27@gmail.com>
Subject: Re: [PATCH] null_blk: fix queue mode Oops for membacked
Date: Thu, 13 Apr 2023 01:30:19 +0000	[thread overview]
Message-ID: <d923827b-45ee-8a08-edc8-ebd7d0dd108a@nvidia.com> (raw)
In-Reply-To: <20230412091716.unhpznj4gzjjfehj@green5>

On 4/12/23 02:17, Nitesh Shetty wrote:
> On 23/04/11 09:08PM, Chaitanya Kulkarni wrote:
>> Make sure to check device queue mode in the null_validate_conf()
>> and return error for NULL_Q_RQ as we don't allow legacy I/O path,
>
> Can't we do away with NULL_Q_RQ defination itself ?
> I mean, since I see in code we are not using NULL_Q_RQ anywhere,
> if we can remove NULL_Q_RQ defination from enum in null_blk.h,
> we can remove your suggested check, as well as check in null_init.
>
> --Nitesh Shetty
>

Please don't do that.

-ck



  parent reply	other threads:[~2023-04-13  1:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20230412091807epcas5p10b99767a999ded5789cb8ffce2189394@epcas5p1.samsung.com>
2023-04-12  4:08 ` [PATCH] null_blk: fix queue mode Oops for membacked Chaitanya Kulkarni
2023-04-12  7:57   ` Damien Le Moal
2023-04-12  8:09     ` Chaitanya Kulkarni
2023-04-12  9:17   ` Nitesh Shetty
2023-04-12  9:43     ` Damien Le Moal
2023-04-12 10:29       ` Nitesh Shetty
2023-04-13  1:30     ` Chaitanya Kulkarni [this message]
2023-04-13  3:24   ` Ming Lei

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=d923827b-45ee-8a08-edc8-ebd7d0dd108a@nvidia.com \
    --to=chaitanyak@nvidia.com \
    --cc=axboe@kernel.dk \
    --cc=bvanassche@acm.org \
    --cc=dlemoal@kernel.org \
    --cc=error27@gmail.com \
    --cc=johannes.thumshirn@wdc.com \
    --cc=linux-block@vger.kernel.org \
    --cc=nj.shetty@samsung.com \
    --cc=shinichiro.kawasaki@wdc.com \
    --cc=vincent.fu@samsung.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox