All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chaitanya.Kulkarni@wdc.com (Chaitanya Kulkarni)
Subject: [PATCH RFC] nvmet: emulate noiob boundary
Date: Tue, 23 Oct 2018 06:50:00 +0000	[thread overview]
Message-ID: <BYAPR04MB45022B914FEE4FC6D33783FB86F50@BYAPR04MB4502.namprd04.prod.outlook.com> (raw)
In-Reply-To: <1fc9b542-caa0-4696-d2bd-5722b97a17c8@grimberg.me>







From: Linux-nvme <linux-nvme-bounces@lists.infradead.org> on behalf of Sagi Grimberg <sagi@grimberg.me>
Sent: Monday, October 22, 2018 5:29 PM
To: Christoph Hellwig
Cc: Keith Busch; linux-nvme at lists.infradead.org
Subject: Re: [PATCH RFC] nvmet: emulate noiob boundary
? 
 

>> Useful to exercise the host driver to noiob support without having device
>> that actually require it.
> 
> This code looks ok to me, but I'm rather worried about adding these
> just for fun features - we'll eventually have a configfs mess just
> like the scsi target code if we just keep adding random options.

Well, this helped me debug a sub-page bio split code path that I
wouldn't be able to generate without, so I think its beneficial
to have a knob for it.

In general, I would be in favor of us having the kernel target
allow one to exercise the host code in various forms, but would not
want to have endless attributes to setup.

[CK] We can get away with the target component based debug bitmask and
have one configfs entry to avoid the configfs attribute pollution.

 Perhaps we would want to have
these sort of stuff with a debug prefix such that its clear that only
debug stuff belong there?

Thoughts?


[CK] I like the idea of having debug code handy.
However,?if we start adding?debug code in each file?it will spread
the debug code?all?over the places in the future.?How about we centralize?the
debug code in nvmet-debug.[c|h] ? (not sure how we are going to do this in this
case though).

?


_______________________________________________
Linux-nvme mailing list
Linux-nvme at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
    

  reply	other threads:[~2018-10-23  6:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-19 22:24 [PATCH RFC] nvmet: emulate noiob boundary Sagi Grimberg
2018-10-22  8:59 ` Christoph Hellwig
2018-10-23  0:29   ` Sagi Grimberg
2018-10-23  6:50     ` Chaitanya Kulkarni [this message]
2018-10-23  7:31       ` Sagi Grimberg
2018-10-26  7:54     ` Christoph Hellwig
2018-10-30 18:33       ` Sagi Grimberg

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=BYAPR04MB45022B914FEE4FC6D33783FB86F50@BYAPR04MB4502.namprd04.prod.outlook.com \
    --to=chaitanya.kulkarni@wdc.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 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.