Re: [PATCH] bcache: Make gc wakeup sane, remove set_task_state()

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

 



On Mon, Feb 20, 2017 at 10:36:13PM +0800, Coly Li wrote:
> On 2017/2/20 下午10:06, Greg KH wrote:
> > On Mon, Feb 20, 2017 at 04:12:58AM -0900, Kent Overstreet wrote:
> >> On Mon, Feb 20, 2017 at 01:31:37PM +0100, Greg KH wrote:
> >>> On Mon, Jan 23, 2017 at 03:54:07PM +0100, Greg KH wrote:
> >>>> Kent, any hints?
> >>>
> >>> Without a response from the maintainer, I can't apply this...
> >>>
> >>> greg k-h
> >>
> >> Sorry I missed this - yes, this patch should be safe to apply and it does fix
> >> that crash. The relevant code hasn't been changed in ages, 4.4 is definitely
> >> fine.
> > 
> > Ok, I've queued this up for 4.9, but for 4.4 it does not apply.  Coly,
> > can you provide a working backport for 4.4-stable?
> 
> Greg,
> 
> It is because the 'commit 29e6c57cc78e ("bcache: bch_gc_thread() is not
> freezable")' remove a "try_to_freeze()" in bch_gc_thread(), which
> happens in v4.7.
> 
> I just rebase Kent's fix to v4.4 kernel, solve the conflict. Could you
> please check and try the attached patch ?

That worked, thanks!

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]