Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1315088

Re: [GIT PULL] NVMe changes for 4.5-rc1

From Jens Axboe <axboe@fb.com>
Newsgroups linux.kernel
Subject Re: [GIT PULL] NVMe changes for 4.5-rc1
Date 2016-01-22 17:00 +0100
Message-ID <qTMhZ-62g-17@gated-at.bofh.it> (permalink)
References <qTuXM-2zU-5@gated-at.bofh.it> <qTB3e-6EO-75@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01/21/2016 08:58 PM, Linus Torvalds wrote:
> On Thu, Jan 21, 2016 at 1:27 PM, Jens Axboe <axboe@fb.com> wrote:
>>
>> Note that pulling this in will conflict with master, since the code was
>> forked off pretty early, and we had a good chunk of nvme fixes later in
>> the 4.4 cycle.
>
> Not just conflict, but conflict in bad ways. I don't think I'll be
> able to fix it up sanely.
>
> In particular, commit b5875222de2f ("NVMe: IO ending fixes on surprise
> removal") by Keith Busch added this to nvme_dev_remove():
>
>      if (nvme_io_incapable(dev)) {
>          /*
>           * If the device is not capable of IO (surprise hot-removal,
>           * for example), we need to quiesce prior to deleting the
>           * namespaces. This will end outstanding requests and prevent
>           * attempts to sync dirty data.
>           */
>          nvme_dev_shutdown(dev);
>      }
>
> and in your branch we now have:
>
>   - nvme_dev_shutdown() is now nvme_dev_disable(dev, false). Fine.
>
>   - nvme_dev_remove() got renamed to nvme_remove_namespaces(), but also
> lost the "dev" argument (it takes "struct nvme_ctrl *ctrl" now).

&dev->ctrl

> I think I will end up doing the merge by just dropping that part of
> the surprise removal commit, and letting you and Keith work out what
> the real solution is..

That's fine, thanks for merging!

-- 
Jens Axboe

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[GIT PULL] NVMe changes for 4.5-rc1 Jens Axboe <axboe@fb.com> - 2016-01-21 22:30 +0100
  Re: [GIT PULL] NVMe changes for 4.5-rc1 Linus Torvalds <torvalds@linux-foundation.org> - 2016-01-22 05:00 +0100
    Re: [GIT PULL] NVMe changes for 4.5-rc1 Jens Axboe <axboe@fb.com> - 2016-01-22 17:00 +0100
      Re: [GIT PULL] NVMe changes for 4.5-rc1 Jens Axboe <axboe@fb.com> - 2016-01-22 17:30 +0100

csiph-web