All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: manual merge of the folio tree with the ubifs-fixes tree
@ 2022-03-15  9:52 Stephen Rothwell
  2022-03-16  1:12 ` Zhihao Cheng
  2022-03-23 21:56 ` Stephen Rothwell
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Rothwell @ 2022-03-15  9:52 UTC (permalink / raw)
  To: Matthew Wilcox, Richard Weinberger
  Cc: Linux Kernel Mailing List, Linux Next Mailing List, Zhihao Cheng

[-- Attachment #1: Type: text/plain, Size: 1269 bytes --]

Hi all,

Today's linux-next merge of the folio tree got a conflict in:

  fs/ubifs/file.c

between commit:

  3b67db8a6ca8 ("ubifs: Fix to add refcount once page is set private")

from the ubifs-fixes tree and commit:

  c337f2f4f746 ("ubifs: Convert from invalidatepage to invalidate_folio")

from the folio tree.

I fixed it up (I hope - see below) and can carry the fix as
necessary. This is now fixed as far as linux-next is concerned, but any
non trivial conflicts should be mentioned to your upstream maintainer
when your tree is submitted for merging.  You may also want to consider
cooperating with the maintainer of the conflicting tree to minimise any
particularly complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc fs/ubifs/file.c
index 6b45a037a047,8a9ffc2d4167..000000000000
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
@@@ -1304,8 -1304,8 +1304,8 @@@ static void ubifs_invalidate_folio(stru
  		release_existing_page_budget(c);
  
  	atomic_long_dec(&c->dirty_pg_cnt);
- 	detach_page_private(page);
- 	ClearPageChecked(page);
 -	folio_clear_private(folio);
++	folio_detach_private(folio);
+ 	folio_clear_checked(folio);
  }
  
  int ubifs_fsync(struct file *file, loff_t start, loff_t end, int datasync)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: manual merge of the folio tree with the ubifs-fixes tree
  2022-03-15  9:52 linux-next: manual merge of the folio tree with the ubifs-fixes tree Stephen Rothwell
@ 2022-03-16  1:12 ` Zhihao Cheng
  2022-03-23 21:56 ` Stephen Rothwell
  1 sibling, 0 replies; 4+ messages in thread
From: Zhihao Cheng @ 2022-03-16  1:12 UTC (permalink / raw)
  To: Stephen Rothwell, Matthew Wilcox, Richard Weinberger
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

在 2022/3/15 17:52, Stephen Rothwell 写道:
> Hi all,
> 
> Today's linux-next merge of the folio tree got a conflict in:
> 
>    fs/ubifs/file.c
> 
> between commit:
> 
>    3b67db8a6ca8 ("ubifs: Fix to add refcount once page is set private")
> 
> from the ubifs-fixes tree and commit:
> 
>    c337f2f4f746 ("ubifs: Convert from invalidatepage to invalidate_folio")
> 
> from the folio tree.
> 
> I fixed it up (I hope - see below) and can carry the fix as
> necessary. This is now fixed as far as linux-next is concerned, but any
> non trivial conflicts should be mentioned to your upstream maintainer
> when your tree is submitted for merging.  You may also want to consider
> cooperating with the maintainer of the conflicting tree to minimise any
> particularly complex conflicts.
> 
This conflict is handled right.
Acked-by: Zhihao Cheng <chengzhihao1@huawei.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: manual merge of the folio tree with the ubifs-fixes tree
  2022-03-15  9:52 linux-next: manual merge of the folio tree with the ubifs-fixes tree Stephen Rothwell
  2022-03-16  1:12 ` Zhihao Cheng
@ 2022-03-23 21:56 ` Stephen Rothwell
  2022-03-23 22:17   ` Richard Weinberger
  1 sibling, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2022-03-23 21:56 UTC (permalink / raw)
  To: Richard Weinberger
  Cc: Matthew Wilcox, Linux Kernel Mailing List,
	Linux Next Mailing List, Zhihao Cheng

[-- Attachment #1: Type: text/plain, Size: 1505 bytes --]

Hi all,

On Tue, 15 Mar 2022 20:52:59 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next merge of the folio tree got a conflict in:
> 
>   fs/ubifs/file.c
> 
> between commit:
> 
>   3b67db8a6ca8 ("ubifs: Fix to add refcount once page is set private")
> 
> from the ubifs-fixes tree and commit:
> 
>   c337f2f4f746 ("ubifs: Convert from invalidatepage to invalidate_folio")
> 
> from the folio tree.
> 
> I fixed it up (I hope - see below) and can carry the fix as
> necessary. This is now fixed as far as linux-next is concerned, but any
> non trivial conflicts should be mentioned to your upstream maintainer
> when your tree is submitted for merging.  You may also want to consider
> cooperating with the maintainer of the conflicting tree to minimise any
> particularly complex conflicts.
> 
> 
> diff --cc fs/ubifs/file.c
> index 6b45a037a047,8a9ffc2d4167..000000000000
> --- a/fs/ubifs/file.c
> +++ b/fs/ubifs/file.c
> @@@ -1304,8 -1304,8 +1304,8 @@@ static void ubifs_invalidate_folio(stru
>   		release_existing_page_budget(c);
>   
>   	atomic_long_dec(&c->dirty_pg_cnt);
> - 	detach_page_private(page);
> - 	ClearPageChecked(page);
>  -	folio_clear_private(folio);
> ++	folio_detach_private(folio);
> + 	folio_clear_checked(folio);
>   }
>   
>   int ubifs_fsync(struct file *file, loff_t start, loff_t end, int datasync)

This is now a conflict between the ubifs-fixes tree and Linus' tree.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: manual merge of the folio tree with the ubifs-fixes tree
  2022-03-23 21:56 ` Stephen Rothwell
@ 2022-03-23 22:17   ` Richard Weinberger
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Weinberger @ 2022-03-23 22:17 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Matthew Wilcox, linux-kernel, Linux Next Mailing List, chengzhihao1

----- Ursprüngliche Mail -----
> This is now a conflict between the ubifs-fixes tree and Linus' tree.

Thanks for letting me know, I'll note this in my PR to Linus.

Thanks,
//richard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-23 22:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-15  9:52 linux-next: manual merge of the folio tree with the ubifs-fixes tree Stephen Rothwell
2022-03-16  1:12 ` Zhihao Cheng
2022-03-23 21:56 ` Stephen Rothwell
2022-03-23 22:17   ` Richard Weinberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.