nvmet: add AEN configuration support
authorChristoph Hellwig <hch@lst.de>
Wed, 30 May 2018 13:04:47 +0000 (15:04 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Jun 2018 12:37:35 +0000 (14:37 +0200)
commitc86b8f7b4144affc4daa8b4047cd4da936b087ef
treee09b828f4fe9dd58f0ee142858144ca84c3899ed
parentc16734ea98f5549fed9a1af47e943a45855274e0
nvmet: add AEN configuration support

AEN configuration via the 'Get Features' and 'Set Features' admin
command is mandatory, so we should be implemeting handling for it.

Signed-off-by: Hannes Reinecke <hare@suse.com>
[hch: use WRITE_ONCE, check for invalid values]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
drivers/nvme/target/admin-cmd.c
drivers/nvme/target/core.c
drivers/nvme/target/nvmet.h