From: Christoph Hellwig <hch@lst.de> To: axboe@fb.com Cc: keith.busch@intel.com, linux-block@vger.kernel.org, linux-nvme@lists.infradead.org Subject: [PATCH 6/7] nvme: remove the post_scan callout Date: Mon, 29 Aug 2016 12:53:32 +0200 [thread overview] Message-ID: <1472468013-29936-7-git-send-email-hch@lst.de> (raw) In-Reply-To: <1472468013-29936-1-git-send-email-hch@lst.de> No need now that we don't have to reverse engineer the irq affinity. Signed-off-by: Christoph Hellwig <hch@lst.de> --- drivers/nvme/host/core.c | 3 --- drivers/nvme/host/nvme.h | 1 - 2 files changed, 4 deletions(-) diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 2feacc7..b245616 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -1826,9 +1826,6 @@ static void nvme_scan_work(struct work_struct *work) list_sort(NULL, &ctrl->namespaces, ns_cmp); mutex_unlock(&ctrl->namespaces_mutex); kfree(id); - - if (ctrl->ops->post_scan) - ctrl->ops->post_scan(ctrl); } void nvme_queue_scan(struct nvme_ctrl *ctrl) diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index ab18b78..99e4c16 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -184,7 +184,6 @@ struct nvme_ctrl_ops { int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val); int (*reset_ctrl)(struct nvme_ctrl *ctrl); void (*free_ctrl)(struct nvme_ctrl *ctrl); - void (*post_scan)(struct nvme_ctrl *ctrl); void (*submit_async_event)(struct nvme_ctrl *ctrl, int aer_idx); int (*delete_ctrl)(struct nvme_ctrl *ctrl); const char *(*get_subsysnqn)(struct nvme_ctrl *ctrl); -- 2.1.4
WARNING: multiple messages have this Message-ID (diff)
From: hch@lst.de (Christoph Hellwig) Subject: [PATCH 6/7] nvme: remove the post_scan callout Date: Mon, 29 Aug 2016 12:53:32 +0200 [thread overview] Message-ID: <1472468013-29936-7-git-send-email-hch@lst.de> (raw) In-Reply-To: <1472468013-29936-1-git-send-email-hch@lst.de> No need now that we don't have to reverse engineer the irq affinity. Signed-off-by: Christoph Hellwig <hch at lst.de> --- drivers/nvme/host/core.c | 3 --- drivers/nvme/host/nvme.h | 1 - 2 files changed, 4 deletions(-) diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 2feacc7..b245616 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -1826,9 +1826,6 @@ static void nvme_scan_work(struct work_struct *work) list_sort(NULL, &ctrl->namespaces, ns_cmp); mutex_unlock(&ctrl->namespaces_mutex); kfree(id); - - if (ctrl->ops->post_scan) - ctrl->ops->post_scan(ctrl); } void nvme_queue_scan(struct nvme_ctrl *ctrl) diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index ab18b78..99e4c16 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -184,7 +184,6 @@ struct nvme_ctrl_ops { int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val); int (*reset_ctrl)(struct nvme_ctrl *ctrl); void (*free_ctrl)(struct nvme_ctrl *ctrl); - void (*post_scan)(struct nvme_ctrl *ctrl); void (*submit_async_event)(struct nvme_ctrl *ctrl, int aer_idx); int (*delete_ctrl)(struct nvme_ctrl *ctrl); const char *(*get_subsysnqn)(struct nvme_ctrl *ctrl); -- 2.1.4
next prev parent reply other threads:[~2016-08-29 10:53 UTC|newest] Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-08-29 10:53 blk-mq: allow passing in an external queue mapping V2 Christoph Hellwig 2016-08-29 10:53 ` Christoph Hellwig 2016-08-29 10:53 ` [PATCH 1/7] blk-mq: don't redistribute hardware queues on a CPU hotplug event Christoph Hellwig 2016-08-29 10:53 ` Christoph Hellwig 2016-08-29 10:53 ` [PATCH 2/7] blk-mq: only allocate a single mq_map per tag_set Christoph Hellwig 2016-08-29 10:53 ` Christoph Hellwig 2016-08-29 10:53 ` [PATCH 3/7] blk-mq: remove ->map_queue Christoph Hellwig 2016-08-29 10:53 ` Christoph Hellwig 2016-08-29 10:53 ` [PATCH 4/7] blk-mq: allow the driver to pass in an affinity mask Christoph Hellwig 2016-08-29 10:53 ` Christoph Hellwig 2016-08-31 16:38 ` Keith Busch 2016-08-31 16:38 ` Keith Busch 2016-09-01 8:46 ` Christoph Hellwig 2016-09-01 8:46 ` Christoph Hellwig 2016-09-01 14:24 ` Keith Busch 2016-09-01 14:24 ` Keith Busch 2016-09-01 23:30 ` Keith Busch 2016-09-01 23:30 ` Keith Busch 2016-09-05 19:48 ` Christoph Hellwig 2016-09-05 19:48 ` Christoph Hellwig 2016-09-06 14:39 ` Keith Busch 2016-09-06 14:39 ` Keith Busch 2016-09-06 16:50 ` Christoph Hellwig 2016-09-06 16:50 ` Christoph Hellwig 2016-09-06 17:30 ` Keith Busch 2016-09-06 17:30 ` Keith Busch 2016-09-07 15:38 ` Thomas Gleixner 2016-09-07 15:38 ` Thomas Gleixner 2016-08-29 10:53 ` [PATCH 5/7] nvme: switch to use pci_alloc_irq_vectors Christoph Hellwig 2016-08-29 10:53 ` Christoph Hellwig 2016-08-29 10:53 ` Christoph Hellwig [this message] 2016-08-29 10:53 ` [PATCH 6/7] nvme: remove the post_scan callout Christoph Hellwig 2016-08-29 10:53 ` [PATCH 7/7] blk-mq: get rid of the cpumask in struct blk_mq_tags Christoph Hellwig 2016-08-29 10:53 ` Christoph Hellwig 2016-08-30 23:28 ` blk-mq: allow passing in an external queue mapping V2 Keith Busch 2016-08-30 23:28 ` Keith Busch 2016-09-01 8:45 ` Christoph Hellwig 2016-09-01 8:45 ` Christoph Hellwig
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=1472468013-29936-7-git-send-email-hch@lst.de \ --to=hch@lst.de \ --cc=axboe@fb.com \ --cc=keith.busch@intel.com \ --cc=linux-block@vger.kernel.org \ --cc=linux-nvme@lists.infradead.org \ /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: linkBe 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.