linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.com>
To: Curt <lightspd@gmail.com>
Cc: Phil Turmel <philip@turmel.org>,
	Anthony Youngman <antlists@youngman.org.uk>,
	linux-raid@vger.kernel.org
Subject: Re: hung grow
Date: Thu, 12 Oct 2017 17:15:42 +1100	[thread overview]
Message-ID: <87376ooprl.fsf@notabene.neil.brown.name> (raw)
In-Reply-To: <CADg2FGaGF0wg5P075HwLNEE_zNQETRQNmO9KfxGgTvTMP2nMdQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1626 bytes --]

On Wed, Oct 11 2017, Curt wrote:

> On Wed, Oct 11, 2017 at 12:49 AM, NeilBrown <neilb@suse.com> wrote:
>>
>> Nope.  It is a kernel bug that is still present.  I can easily reproduce
>> it on the mainline kernel now that I have your metadata.
>> I know generally what the problem is.  I'll try to craft a fix tomorrow.
>> You'll need to build and run a new kernel to be able to fix you array.
>> That might seem scary, but it really isn't that hard.
>>
>> NeilBrown
>  Awesome thanks.  Just let me know what I need to do.

I had hoped to have this for you today, but it didn't quite work out.  I
have a patch which I believe is correct, but I try not to trust myself
about such things after about 3pm.
Fixing the spin turned out to be very easy, but subsequent testing
showed another problem.  'sdb' is not fully recovered but after the
reverted reshape completed, md thought that it was.  It took a while to
figure out exactly what was going on there.

If nothing urgent intervenes tomorrow I'll review the patches and then
send them along with instructions on how to build a kernel.
It might help to know what distro you plan to do that on.
The key steps will be:
1/ get the kernel source
2/ apply the patch
3/ get a .config that matches what your distro kernel
4/ build the kernel
5/ make install modules_install
6/ reboot

The kernel source is simply https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.13.5.tar.xz
The "make install.." assumes your distro has the right helpers
installed.
The ".config" might be
   zcat /proc/config.gz > .config
If not, you'll need to hunt for it.  Someone can probably help.

NeilBrown

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2017-10-12  6:15 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-04 17:18 hung grow Curt
2017-10-04 17:51 ` Anthony Youngman
2017-10-04 18:16   ` Curt
2017-10-04 18:29     ` Joe Landman
2017-10-04 18:37       ` Curt
2017-10-04 18:44         ` Joe Landman
2017-10-04 19:01           ` Anthony Youngman
2017-10-04 19:09             ` Curt
2017-10-04 19:46               ` Anthony Youngman
2017-10-04 20:01                 ` Curt
2017-10-04 21:08                   ` Anthony Youngman
2017-10-04 21:53                     ` Phil Turmel
     [not found]                       ` <CADg2FGbnMzLBqWthKY5Uo__ANC2kAqH_8B1G23nhW+7hWJ=KeA@mail.gmail.com>
2017-10-06  1:25                         ` Curt
2017-10-06 11:16                           ` Wols Lists
     [not found]                         ` <CADg2FGYc-sPjwukuhonoUUCr3ze3PQWv8gtZPnUT=E4CvsQftg@mail.gmail.com>
2017-10-06 13:13                           ` Phil Turmel
2017-10-06 14:07                             ` Curt
2017-10-06 14:27                               ` Joe Landman
2017-10-06 14:27                               ` Phil Turmel
2017-10-07  3:09                                 ` Curt
2017-10-07  3:15                                   ` Curt
2017-10-07 20:45                                     ` Curt
2017-10-07 21:29                                       ` Phil Turmel
2017-10-08 22:40                                         ` Curt
2017-10-09  1:23                                           ` NeilBrown
2017-10-09  1:40                                             ` Curt
2017-10-09  4:28                                               ` NeilBrown
2017-10-09  4:59                                                 ` Curt
2017-10-09  5:47                                                   ` NeilBrown
2017-10-09 12:41                                                 ` Curt
2017-10-10 12:08                                                   ` Curt
2017-10-10 13:06                                                     ` Phil Turmel
2017-10-10 13:37                                                       ` Anthony Youngman
2017-10-10 14:00                                                         ` Phil Turmel
2017-10-10 14:11                                                           ` Curt
2017-10-10 14:14                                                             ` Reindl Harald
2017-10-10 14:15                                                             ` Phil Turmel
2017-10-10 14:23                                                               ` Curt
2017-10-10 18:06                                                                 ` Phil Turmel
2017-10-10 19:25                                                                   ` Curt
2017-10-10 19:42                                                                     ` Phil Turmel
2017-10-10 19:49                                                                       ` Curt
2017-10-10 19:51                                                                         ` Curt
2017-10-10 20:18                                                                           ` Phil Turmel
2017-10-10 20:29                                                                             ` Curt
2017-10-10 20:31                                                                               ` Phil Turmel
2017-10-10 20:48                                                                                 ` Curt
2017-10-10 20:47                                                                     ` NeilBrown
2017-10-10 20:58                                                                       ` Curt
2017-10-10 21:23                                                                         ` Curt
2017-10-10 21:56                                                                           ` NeilBrown
2017-10-11  0:26                                                                             ` Curt
2017-10-11  4:46                                                                               ` NeilBrown
2017-10-11  2:20                                                                       ` Curt
2017-10-11  4:49                                                                         ` NeilBrown
2017-10-11 15:38                                                                           ` Curt
2017-10-12  6:15                                                                             ` NeilBrown [this message]
2017-10-10 14:12                                                           ` Anthony Youngman
2017-10-04 19:06         ` Anthony Youngman
2017-10-04 18:57     ` Anthony Youngman

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=87376ooprl.fsf@notabene.neil.brown.name \
    --to=neilb@suse.com \
    --cc=antlists@youngman.org.uk \
    --cc=lightspd@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=philip@turmel.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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).