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


Groups > linux.kernel > #1694097

Re: Moving ndctl development into the kernel tree?

From Dan Williams <dan.j.williams@intel.com>
Newsgroups linux.kernel
Subject Re: Moving ndctl development into the kernel tree?
Date 2017-07-22 05:00 +0200
Message-ID <u5SO5-4D3-7@gated-at.bofh.it> (permalink)
References <u5P3P-2gm-1@gated-at.bofh.it> <u5P3Q-2gm-19@gated-at.bofh.it> <u5PQe-2MJ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[ adding Chris ]

On Fri, Jul 21, 2017 at 4:44 PM, Dan Williams <dan.j.williams@intel.com> wrote:
> On Fri, Jul 21, 2017 at 3:58 PM, Ingo Molnar <mingo@kernel.org> wrote:
>>
>> * Dan Williams <dan.j.williams@intel.com> wrote:
>>
>>> [...]
>>>
>>> * Like perf, ndctl borrows the sub-command architecture and option
>>> parsing from git. So, this code could be refactored into something
>>> shared / generic, i.e. the bits in tools/perf/util/.
>>
>> Just as a side note, stacktool (tools/stacktool/) is using the Git sub-command and
>> options parsing code as well, and it's already sharing it with perf, via the
>> tools/lib/subcmd/ library.
>>
>> ndctl could use that as well.
>
> Ah, nice, that refactoring happened about a year after ndctl was born.
> Which brings up the next question about what to do with the git
> history, but I'd want to know if ndctl is even welcome upstream before
> digging any deeper.

I suspect this would be similar to what Chris did to merge btrfs while
retaining the standalone history. Chris, any pointers on what worked
well and what if anything you would do differently? I.e. I'm looking
to use git filter-branch to rewrite ndctl history as if if had always
been in tools/ndctl in the kernel tree. I found this old thread
https://lkml.org/lkml/2008/10/30/523 and it seems to also recommend
using an older kernel as the branch base.

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


Thread

Moving ndctl development into the kernel tree? Dan Williams <dan.j.williams@intel.com> - 2017-07-22 01:00 +0200
  Re: Moving ndctl development into the kernel tree? Ingo Molnar <mingo@kernel.org> - 2017-07-22 01:00 +0200
    Re: Moving ndctl development into the kernel tree? Dan Williams <dan.j.williams@intel.com> - 2017-07-22 01:50 +0200
      Re: Moving ndctl development into the kernel tree? Dan Williams <dan.j.williams@intel.com> - 2017-07-22 05:00 +0200
        Re: Moving ndctl development into the kernel tree? Dan Williams <dan.j.williams@intel.com> - 2017-07-22 20:50 +0200

csiph-web