From: Christoph Hellwig <hch@lst.de>
To: Balbir Singh <sblbir@amazon.com>
Cc: Sagi Grimberg <sagi@grimberg.me>,
linux-nvme@lists.infradead.org, Jens Axboe <axboe@fb.com>,
Someswarudu Sangaraju <ssomesh@amazon.com>,
Keith Busch <kbusch@kernel.org>, Christoph Hellwig <hch@lst.de>
Subject: Re: [RFC][PATCH] nvme/core: Notify udev about capacity change
Date: Fri, 29 Nov 2019 09:24:49 +0100 [thread overview]
Message-ID: <20191129082449.GA9953@lst.de> (raw)
In-Reply-To: <20191129002746.6622-1-sblbir@amazon.com>
I don't think this makes sense, and they way it has been done in
virtio_blk and xen-blkfront is an utter hack. Please first add a
properly documented block helper, and then make sure it doesn't send the
even for the first call that moves from a 0 capacity. SCSI also will
need updating to use the helper.
_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
next prev parent reply other threads:[~2019-11-29 8:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-29 0:27 [RFC][PATCH] nvme/core: Notify udev about capacity change Balbir Singh
2019-11-29 8:24 ` Christoph Hellwig [this message]
2019-12-02 23:35 ` Singh, Balbir
2019-12-03 6:54 ` hch
2019-12-03 7:26 ` Chaitanya Kulkarni
2019-12-03 7:34 ` hch
2019-12-03 12:43 ` Johannes Thumshirn
2019-12-03 12:52 ` hch
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=20191129082449.GA9953@lst.de \
--to=hch@lst.de \
--cc=axboe@fb.com \
--cc=kbusch@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sagi@grimberg.me \
--cc=sblbir@amazon.com \
--cc=ssomesh@amazon.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;
as well as URLs for NNTP newsgroup(s).