* linux-next: manual merge of the tip tree with the nfs tree
@ 2014-09-22 3:31 Stephen Rothwell
2014-09-22 7:22 ` Christoph Hellwig
2014-09-24 7:32 ` Ingo Molnar
0 siblings, 2 replies; 4+ messages in thread
From: Stephen Rothwell @ 2014-09-22 3:31 UTC (permalink / raw)
To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra,
Trond Myklebust
Cc: linux-next, linux-kernel, Kirill Tkhai, Christoph Hellwig
[-- Attachment #1: Type: text/plain, Size: 1517 bytes --]
Hi all,
Today's linux-next merge of the tip tree got conflicts in
fs/nfs/blocklayout/blocklayoutdev.c and
fs/nfs/blocklayout/blocklayoutdm.c between commit 871760ce97a9
("pnfs/blocklayout: move all rpc_pipefs related code into a single
file") from the nfs tree and commit f139caf2e897 ("sched, cleanup,
treewide: Remove set_current_state(TASK_RUNNING) after schedule()")
from the tip tree.
I fixed it up (the former move the code in these two files into
fs/nfs/blocklayout/rpc_pipefs.c, so I deleted the 2 files and applied
the following merge fix patch) and can carry the fix as necessary (no
action is required).
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 22 Sep 2014 13:29:19 +1000
Subject: [PATCH] pnfs: merge fixup for sched cleanup of set_current_state(TASK_RUNNING)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
fs/nfs/blocklayout/rpc_pipefs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/nfs/blocklayout/rpc_pipefs.c b/fs/nfs/blocklayout/rpc_pipefs.c
index 8d04bda2bd2e..e966c023b1b7 100644
--- a/fs/nfs/blocklayout/rpc_pipefs.c
+++ b/fs/nfs/blocklayout/rpc_pipefs.c
@@ -92,7 +92,6 @@ bl_resolve_deviceid(struct nfs_server *server, struct pnfs_block_volume *b,
set_current_state(TASK_UNINTERRUPTIBLE);
schedule();
- __set_current_state(TASK_RUNNING);
remove_wait_queue(&nn->bl_wq, &wq);
if (reply->status != BL_DEVICE_REQUEST_PROC) {
--
2.1.0
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: linux-next: manual merge of the tip tree with the nfs tree
2014-09-22 3:31 linux-next: manual merge of the tip tree with the nfs tree Stephen Rothwell
@ 2014-09-22 7:22 ` Christoph Hellwig
2014-09-24 7:32 ` Ingo Molnar
1 sibling, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2014-09-22 7:22 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra,
Trond Myklebust, linux-next, linux-kernel, Kirill Tkhai
Thanks Stephen,
the fixup looks obviously correct to me.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-next: manual merge of the tip tree with the nfs tree
2014-09-22 3:31 linux-next: manual merge of the tip tree with the nfs tree Stephen Rothwell
2014-09-22 7:22 ` Christoph Hellwig
@ 2014-09-24 7:32 ` Ingo Molnar
1 sibling, 0 replies; 4+ messages in thread
From: Ingo Molnar @ 2014-09-24 7:32 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra,
Trond Myklebust, linux-next, linux-kernel, Kirill Tkhai,
Christoph Hellwig
* Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi all,
>
> Today's linux-next merge of the tip tree got conflicts in
> fs/nfs/blocklayout/blocklayoutdev.c and
> fs/nfs/blocklayout/blocklayoutdm.c between commit 871760ce97a9
> ("pnfs/blocklayout: move all rpc_pipefs related code into a single
> file") from the nfs tree and commit f139caf2e897 ("sched, cleanup,
> treewide: Remove set_current_state(TASK_RUNNING) after schedule()")
> from the tip tree.
>
> I fixed it up (the former move the code in these two files into
> fs/nfs/blocklayout/rpc_pipefs.c, so I deleted the 2 files and applied
> the following merge fix patch) and can carry the fix as necessary (no
> action is required).
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Mon, 22 Sep 2014 13:29:19 +1000
> Subject: [PATCH] pnfs: merge fixup for sched cleanup of set_current_state(TASK_RUNNING)
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
> fs/nfs/blocklayout/rpc_pipefs.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/nfs/blocklayout/rpc_pipefs.c b/fs/nfs/blocklayout/rpc_pipefs.c
> index 8d04bda2bd2e..e966c023b1b7 100644
> --- a/fs/nfs/blocklayout/rpc_pipefs.c
> +++ b/fs/nfs/blocklayout/rpc_pipefs.c
> @@ -92,7 +92,6 @@ bl_resolve_deviceid(struct nfs_server *server, struct pnfs_block_volume *b,
>
> set_current_state(TASK_UNINTERRUPTIBLE);
> schedule();
> - __set_current_state(TASK_RUNNING);
> remove_wait_queue(&nn->bl_wq, &wq);
>
> if (reply->status != BL_DEVICE_REQUEST_PROC) {
Looks good, thanks Stephen!
Ingo
^ permalink raw reply [flat|nested] 4+ messages in thread
* linux-next: manual merge of the tip tree with the nfs tree
@ 2014-08-04 7:19 Stephen Rothwell
0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2014-08-04 7:19 UTC (permalink / raw)
To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra,
Trond Myklebust
Cc: linux-next, linux-kernel, Weston Andros Adamson, NeilBrown
[-- Attachment #1: Type: text/plain, Size: 993 bytes --]
Hi all,
Today's linux-next merge of the tip tree got a conflict in
fs/nfs/pagelist.c between commit e7029206ff43 ("nfs: check
wait_on_bit_lock err in page_group_lock") from the nfs tree and commit
743162013d40 ("sched: Remove proliferation of wait_on_bit() action
functions") from the tip tree.
I fixed it up (see below) and can carry the fix as necessary (no action
is required).
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
diff --cc fs/nfs/pagelist.c
index 9425118e91d7,0be5050638f7..000000000000
--- a/fs/nfs/pagelist.c
+++ b/fs/nfs/pagelist.c
@@@ -158,14 -149,8 +152,13 @@@ nfs_page_group_lock(struct nfs_page *re
WARN_ON_ONCE(head != head->wb_head);
- wait_on_bit_lock(&head->wb_flags, PG_HEADLOCK,
+ do {
+ ret = wait_on_bit_lock(&head->wb_flags, PG_HEADLOCK,
- nfs_wait_bit_uninterruptible,
TASK_UNINTERRUPTIBLE);
+ } while (wait && ret != 0);
+
+ WARN_ON_ONCE(ret > 0);
+ return ret;
}
/*
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-09-24 7:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-22 3:31 linux-next: manual merge of the tip tree with the nfs tree Stephen Rothwell
2014-09-22 7:22 ` Christoph Hellwig
2014-09-24 7:32 ` Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2014-08-04 7:19 Stephen Rothwell
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).