]> 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)
commit0a9b7f8401c3d835923b1394d00c2d6b40fa83c3
treec418113e30345fb7ccc120a7babbb28c1ef7d296
parent1b8d59c52a7a97961734cd00002453e3f464d5b1
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