]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: use the changed namespaces list log to clear ns data changed AENs
authorChristoph Hellwig <hch@lst.de>
Fri, 25 May 2018 16:17:41 +0000 (18:17 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Jun 2018 12:37:35 +0000 (14:37 +0200)
commitbb68bd11cf15ae7b250b7f3ff434914b4327275a
treec418113e30345fb7ccc120a7babbb28c1ef7d296
parentcae69456875e64f8c1d57c796dedb22795567670
nvme: use the changed namespaces list log to clear ns data changed AENs

Per section 5.2 we need to issue the corresponding log page to clear an
AEN, so for a namespace data changed AEN we need to read the changed
namespace list log.  And once we read that log anyway we might as well
use it to optimize the rescan.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h