RE: [PATCH 0/3] mdadm: re-add journal to array with bad journal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: NeilBrown [mailto:neilb@xxxxxxxx]
> Sent: Thursday, December 10, 2015 2:06 PM
> To: Song Liu <songliubraving@xxxxxx>; linux-raid@xxxxxxxxxxxxxxx
> Cc: dan.j.williams@xxxxxxxxx; Shaohua Li <shli@xxxxxx>; hch@xxxxxxxxxxxxx;
> Kernel Team <Kernel-team@xxxxxx>; Song Liu <songliubraving@xxxxxx>
> Subject: Re: [PATCH 0/3] mdadm: re-add journal to array with bad journal
> 
> On Wed, Dec 02 2015, Song Liu <songliubraving@xxxxxx> wrote:
> 
> > These patches try to recreate missing/faulty journal in mdadm. Since
> > the array is readonly with journal missing, it is necessary to restart
> > the array after recreating journal.
> >
> > Song Liu (3):
> >   add sysfs_array_state to struct mdinfo
> >   [mdadm] recreate journal in mdadm
> >   make .spec file work
> 
> I didn't get that third patch???

That's my local hack to .spec file. Didn't mean to send it. 

> 
> The patches generally look good, but it bothers me that you have to stop and
> restart the array for the added journal to work.  Can we just teach the kernel to
> accept a new journal on an active array, and then use that functionality in
> mdadm?
> That is certainly what I want in the longer term and I'm not sure it makes sense
> to have a half-way "--add-journal" that doesn't do the whole job.

We will look into hot_add option.  

Thanks,
Song
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux