Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1437730
| From | Minfei Huang <mnghuan@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH RESENT] dm: Check kthread_run's return value |
| Date | 2016-07-06 15:40 +0200 |
| Message-ID | <rRVdw-1mu-27@gated-at.bofh.it> (permalink) |
| References | <rRdYR-7jy-1@gated-at.bofh.it> <rRUUa-1e4-23@gated-at.bofh.it> <rRV3Q-1jb-31@gated-at.bofh.it> <rRVdv-1mu-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 07/06/16 at 09:31P, Mike Snitzer wrote: > On Wed, Jul 06 2016 at 9:27am -0400, > Minfei Huang <mnghuan@gmail.com> wrote: > > > On 07/06/16 at 09:16P, Mike Snitzer wrote: > > > On Mon, Jul 04 2016 at 11:25am -0400, > > > Minfei Huang <mnghuan@gmail.com> wrote: > > > > > > > kthread function is used to process kthread_work. And there is no return > > > > value checking during create this thread. Add this checking to fix this > > > > issue. > > > > > > > > Signed-off-by: Minfei Huang <mnghuan@gmail.com> > > > This needed rebasing against linux-dm.git's 'for-next'. I've now staged > > > this fix for 4.8 inclusion, see: > > > https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=for-next&id=7193a9defcab6f3d3f1eb64c68bad7534e5a39ad > > > > Seems that we should fix it in stable as well. > > Given the code movement it isn't easy to do (by simply adding a stable@ > cc). I've not seen a single report of an ignored kthread_run() failure > for multipath using .request_fn interface. Yep, this bug will be trigged in very restrict condition, also dm is installed in boot time when there are a lot of memory avaiable. Thanks Minfei
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH RESENT] dm: Check kthread_run's return value Minfei Huang <mnghuan@gmail.com> - 2016-07-04 17:30 +0200
Re: [PATCH RESENT] dm: Check kthread_run's return value Mike Snitzer <snitzer@redhat.com> - 2016-07-06 15:20 +0200
Re: [PATCH RESENT] dm: Check kthread_run's return value Minfei Huang <mnghuan@gmail.com> - 2016-07-06 15:30 +0200
Re: [PATCH RESENT] dm: Check kthread_run's return value Mike Snitzer <snitzer@redhat.com> - 2016-07-06 15:40 +0200
Re: [PATCH RESENT] dm: Check kthread_run's return value Minfei Huang <mnghuan@gmail.com> - 2016-07-06 15:40 +0200
csiph-web