* [commit cbf76b702] bcache: Really show state of work pending bit
@ 2016-02-27 1:34 Eric Wheeler
2016-02-27 6:17 ` Greg KH
0 siblings, 1 reply; 7+ messages in thread
From: Eric Wheeler @ 2016-02-27 1:34 UTC (permalink / raw)
To: stable
To whom it may concern:
Please flag commit cbf76b702 for inclusion into stable branches. It
applies cleanly in 4.1 (and likely 3.18). We have been testing it for a
while.
git diff --stat cbf76b702~1..cbf76b702
drivers/md/bcache/closure.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Thank you!
-Eric
--
Eric Wheeler, President eWheeler, Inc. dba Global Linux Security
888-LINUX26 (888-546-8926) Fax: 503-716-3878 PO Box 25107
www.GlobalLinuxSecurity.pro Linux since 1996! Portland, OR 97298
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [commit cbf76b702] bcache: Really show state of work pending bit
2016-02-27 1:34 [commit cbf76b702] bcache: Really show state of work pending bit Eric Wheeler
@ 2016-02-27 6:17 ` Greg KH
2016-02-29 20:06 ` Eric Wheeler
0 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2016-02-27 6:17 UTC (permalink / raw)
To: Eric Wheeler; +Cc: stable
On Fri, Feb 26, 2016 at 05:34:19PM -0800, Eric Wheeler wrote:
> To whom it may concern:
>
> Please flag commit cbf76b702 for inclusion into stable branches. It
> applies cleanly in 4.1 (and likely 3.18). We have been testing it for a
> while.
>
> git diff --stat cbf76b702~1..cbf76b702
> drivers/md/bcache/closure.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> Thank you!
$ git show cbf76b702
fatal: ambiguous argument 'cbf76b702': unknown revision or path not in the working tree.
You are going to have to be a bit more specific...
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [commit cbf76b702] bcache: Really show state of work pending bit
2016-02-27 6:17 ` Greg KH
@ 2016-02-29 20:06 ` Eric Wheeler
2016-02-29 21:29 ` Greg KH
0 siblings, 1 reply; 7+ messages in thread
From: Eric Wheeler @ 2016-02-29 20:06 UTC (permalink / raw)
To: Greg KH; +Cc: stable
On Sat, 27 Feb 2016, Greg KH wrote:
> On Fri, Feb 26, 2016 at 05:34:19PM -0800, Eric Wheeler wrote:
> > To whom it may concern:
> >
> > Please flag commit cbf76b702 for inclusion into stable branches. It
> > applies cleanly in 4.1 (and likely 3.18). We have been testing it for a
> > while.
> >
> > git diff --stat cbf76b702~1..cbf76b702
> > drivers/md/bcache/closure.c | 4 +---
> > 1 file changed, 1 insertion(+), 3 deletions(-)
> >
> > Thank you!
>
> $ git show cbf76b702
> fatal: ambiguous argument 'cbf76b702': unknown revision or path not in the working tree.
>
> You are going to have to be a bit more specific...
This one:
commit cbf76b702e85802683c166ad9067874bc3e1e843
Author: Petr Mladek <pmladek@suse.com>
Date: Mon Oct 5 14:39:52 2015 +0200
bcache: Really show state of work pending bit
WORK_STRUCT_PENDING is a mask for testing the pending bit.
test_bit() expects the number of the bit and we need to
use WORK_STRUCT_PENDING_BIT there.
Also work_data_bits() is defined in workqueues.h now.
I have noticed this just by chance when looking how
WORK_STRUCT_PENDING_BIT is used. The change is compile
tested.
Signed-off-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
diff --git a/drivers/md/bcache/closure.c b/drivers/md/bcache/closure.c
index 7a228de..9eaf1d6 100644
--- a/drivers/md/bcache/closure.c
+++ b/drivers/md/bcache/closure.c
@@ -167,8 +167,6 @@ EXPORT_SYMBOL(closure_debug_destroy);
static struct dentry *debug;
-#define work_data_bits(work) ((unsigned long *)(&(work)->data))
-
static int debug_seq_show(struct seq_file *f, void *data)
{
struct closure *cl;
@@ -182,7 +180,7 @@ static int debug_seq_show(struct seq_file *f, void *data)
r & CLOSURE_REMAINING_MASK);
seq_printf(f, "%s%s%s%s\n",
- test_bit(WORK_STRUCT_PENDING,
+ test_bit(WORK_STRUCT_PENDING_BIT,
work_data_bits(&cl->work)) ? "Q" : "",
r & CLOSURE_RUNNING ? "R" : "",
r & CLOSURE_STACK ? "S" : "",
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [commit cbf76b702] bcache: Really show state of work pending bit
2016-02-29 20:06 ` Eric Wheeler
@ 2016-02-29 21:29 ` Greg KH
2016-02-29 22:06 ` Eric Wheeler
0 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2016-02-29 21:29 UTC (permalink / raw)
To: Eric Wheeler; +Cc: stable
On Mon, Feb 29, 2016 at 08:06:58PM +0000, Eric Wheeler wrote:
> On Sat, 27 Feb 2016, Greg KH wrote:
> > On Fri, Feb 26, 2016 at 05:34:19PM -0800, Eric Wheeler wrote:
> > > To whom it may concern:
> > >
> > > Please flag commit cbf76b702 for inclusion into stable branches. It
> > > applies cleanly in 4.1 (and likely 3.18). We have been testing it for a
> > > while.
> > >
> > > git diff --stat cbf76b702~1..cbf76b702
> > > drivers/md/bcache/closure.c | 4 +---
> > > 1 file changed, 1 insertion(+), 3 deletions(-)
> > >
> > > Thank you!
> >
> > $ git show cbf76b702
> > fatal: ambiguous argument 'cbf76b702': unknown revision or path not in the working tree.
> >
> > You are going to have to be a bit more specific...
>
> This one:
>
>
> commit cbf76b702e85802683c166ad9067874bc3e1e843
> Author: Petr Mladek <pmladek@suse.com>
> Date: Mon Oct 5 14:39:52 2015 +0200
There is no such commit in Linus's tree.
confused,
greg k-h
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [commit cbf76b702] bcache: Really show state of work pending bit
2016-02-29 21:29 ` Greg KH
@ 2016-02-29 22:06 ` Eric Wheeler
2016-02-29 22:31 ` Greg KH
0 siblings, 1 reply; 7+ messages in thread
From: Eric Wheeler @ 2016-02-29 22:06 UTC (permalink / raw)
To: Greg KH; +Cc: stable
On Mon, 29 Feb 2016, Greg KH wrote:
> On Mon, Feb 29, 2016 at 08:06:58PM +0000, Eric Wheeler wrote:
> > On Sat, 27 Feb 2016, Greg KH wrote:
> > > On Fri, Feb 26, 2016 at 05:34:19PM -0800, Eric Wheeler wrote:
> > > > To whom it may concern:
> > > >
> > > > Please flag commit cbf76b702 for inclusion into stable branches. It
> > > > applies cleanly in 4.1 (and likely 3.18). We have been testing it for a
> > > > while.
> > > >
> > > > git diff --stat cbf76b702~1..cbf76b702
> > > > drivers/md/bcache/closure.c | 4 +---
> > > > 1 file changed, 1 insertion(+), 3 deletions(-)
> > > >
> > > > Thank you!
> > >
> > > $ git show cbf76b702
> > > fatal: ambiguous argument 'cbf76b702': unknown revision or path not in the working tree.
> > >
> > > You are going to have to be a bit more specific...
> >
> > This one:
> >
> >
> > commit cbf76b702e85802683c166ad9067874bc3e1e843
> > Author: Petr Mladek <pmladek@suse.com>
> > Date: Mon Oct 5 14:39:52 2015 +0200
>
> There is no such commit in Linus's tree.
Hmm, not sure where that commit hash came from then. Here it is properly:
8d090f47315507c3064ca4eefa9a1da52390b52e
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8d090f47315507c3064ca4eefa9a1da52390b52e
-Eric
>
> confused,
>
> greg k-h
> --
> To unsubscribe from this list: send the line "unsubscribe stable" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [commit cbf76b702] bcache: Really show state of work pending bit
2016-02-29 22:06 ` Eric Wheeler
@ 2016-02-29 22:31 ` Greg KH
2016-02-29 23:02 ` Eric Wheeler
0 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2016-02-29 22:31 UTC (permalink / raw)
To: Eric Wheeler; +Cc: stable
On Mon, Feb 29, 2016 at 10:06:05PM +0000, Eric Wheeler wrote:
> On Mon, 29 Feb 2016, Greg KH wrote:
>
> > On Mon, Feb 29, 2016 at 08:06:58PM +0000, Eric Wheeler wrote:
> > > On Sat, 27 Feb 2016, Greg KH wrote:
> > > > On Fri, Feb 26, 2016 at 05:34:19PM -0800, Eric Wheeler wrote:
> > > > > To whom it may concern:
> > > > >
> > > > > Please flag commit cbf76b702 for inclusion into stable branches. It
> > > > > applies cleanly in 4.1 (and likely 3.18). We have been testing it for a
> > > > > while.
> > > > >
> > > > > git diff --stat cbf76b702~1..cbf76b702
> > > > > drivers/md/bcache/closure.c | 4 +---
> > > > > 1 file changed, 1 insertion(+), 3 deletions(-)
> > > > >
> > > > > Thank you!
> > > >
> > > > $ git show cbf76b702
> > > > fatal: ambiguous argument 'cbf76b702': unknown revision or path not in the working tree.
> > > >
> > > > You are going to have to be a bit more specific...
> > >
> > > This one:
> > >
> > >
> > > commit cbf76b702e85802683c166ad9067874bc3e1e843
> > > Author: Petr Mladek <pmladek@suse.com>
> > > Date: Mon Oct 5 14:39:52 2015 +0200
> >
> > There is no such commit in Linus's tree.
>
> Hmm, not sure where that commit hash came from then. Here it is properly:
> 8d090f47315507c3064ca4eefa9a1da52390b52e
>
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8d090f47315507c3064ca4eefa9a1da52390b52e
That's better.
But this is just a debugging patch, for a debugfs file, how does it
follow the rules outlined in Documentation/stable_kernel_rules.txt for
what is acceptable for a stable kernel release?
greg k-h
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [commit cbf76b702] bcache: Really show state of work pending bit
2016-02-29 22:31 ` Greg KH
@ 2016-02-29 23:02 ` Eric Wheeler
0 siblings, 0 replies; 7+ messages in thread
From: Eric Wheeler @ 2016-02-29 23:02 UTC (permalink / raw)
To: Greg KH; +Cc: stable
On Mon, 29 Feb 2016, Greg KH wrote:
> On Mon, Feb 29, 2016 at 10:06:05PM +0000, Eric Wheeler wrote:
> > On Mon, 29 Feb 2016, Greg KH wrote:
> >
> > > On Mon, Feb 29, 2016 at 08:06:58PM +0000, Eric Wheeler wrote:
> > > > On Sat, 27 Feb 2016, Greg KH wrote:
> > > > > On Fri, Feb 26, 2016 at 05:34:19PM -0800, Eric Wheeler wrote:
> > > > > > To whom it may concern:
> > > > > >
> > > > > > Please flag commit cbf76b702 for inclusion into stable branches. It
> > > > > > applies cleanly in 4.1 (and likely 3.18). We have been testing it for a
> > > > > > while.
> > > > > >
> > > > > > git diff --stat cbf76b702~1..cbf76b702
> > > > > > drivers/md/bcache/closure.c | 4 +---
> > > > > > 1 file changed, 1 insertion(+), 3 deletions(-)
> > > > > >
> > > > > > Thank you!
> > > > >
> > > > > $ git show cbf76b702
> > > > > fatal: ambiguous argument 'cbf76b702': unknown revision or path not in the working tree.
> > > > >
> > > > > You are going to have to be a bit more specific...
> > > >
> > > > This one:
> > > >
> > > >
> > > > commit cbf76b702e85802683c166ad9067874bc3e1e843
> > > > Author: Petr Mladek <pmladek@suse.com>
> > > > Date: Mon Oct 5 14:39:52 2015 +0200
> > >
> > > There is no such commit in Linus's tree.
> >
> > Hmm, not sure where that commit hash came from then. Here it is properly:
> > 8d090f47315507c3064ca4eefa9a1da52390b52e
> >
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8d090f47315507c3064ca4eefa9a1da52390b52e
>
> That's better.
>
> But this is just a debugging patch, for a debugfs file, how does it
> follow the rules outlined in Documentation/stable_kernel_rules.txt for
> what is acceptable for a stable kernel release?
Hmm, it seems that this patch doesn't do what I thought it did.
Nevermind, I retract this request.
-Eric
>
> greg k-h
> --
> To unsubscribe from this list: send the line "unsubscribe stable" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-02-29 23:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-27 1:34 [commit cbf76b702] bcache: Really show state of work pending bit Eric Wheeler
2016-02-27 6:17 ` Greg KH
2016-02-29 20:06 ` Eric Wheeler
2016-02-29 21:29 ` Greg KH
2016-02-29 22:06 ` Eric Wheeler
2016-02-29 22:31 ` Greg KH
2016-02-29 23:02 ` Eric Wheeler
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).