public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
	Christian Brauner <christian@brauner.io>,
	Seth Forshee <sforshee@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: linux-next: manual merge of the block tree with the vfs-idmapping tree
Date: Wed, 10 May 2023 06:48:39 -0600	[thread overview]
Message-ID: <b5c0b1b9-9896-2637-458b-ca1003ba7d74@kernel.dk> (raw)
In-Reply-To: <20230510105543.165f102b@canb.auug.org.au>

On 5/9/23 6:55 PM, Stephen Rothwell wrote:
> Hi all,
> 
> Today's linux-next merge of the block tree got a conflict in:
> 
>   fs/pipe.c
> 
> between commit:
> 
>   2b10649c2316 ("pipe: enable handling of IOCB_NOWAIT")
> 
> from the vfs-idmapping tree and commit:
> 
>   3f6ded8dd89d ("pipe: check for IOCB_NOWAIT alongside O_NONBLOCK")
> 
> from the block tree.
> 
> The former added
> 
> 	const bool nonblock = iocb->ki_flags & IOCB_NOWAIT;
> 
> and then did
> 
> -		if (filp->f_flags & O_NONBLOCK) {
> +		if (filp->f_flags & O_NONBLOCK || nonblock) {
> 
> while the latter just did
> 
> -		if (filp->f_flags & O_NONBLOCK) {
> +		if (filp->f_flags & O_NONBLOCK || iocb->ki_flags & IOCB_NOWAIT) {
> 
> so I just used the former though I suspect that the former may be a
> previous version of these changes?).
> 
> I fixed it up (see above) 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.

Yes, since Linus didn't like the original approach, it was redone
and that particular patch was originally forgotten and then redone
without the 'nonblock' variable. So you should just ignore the
old version, and Christian should just drop that branch from his
for-next tree as it's dead.

-- 
Jens Axboe



  reply	other threads:[~2023-05-10 12:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-10  0:55 linux-next: manual merge of the block tree with the vfs-idmapping tree Stephen Rothwell
2023-05-10 12:48 ` Jens Axboe [this message]
2023-05-11  1:07   ` Stephen Rothwell
2023-05-11 18:04     ` Christian Brauner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b5c0b1b9-9896-2637-458b-ca1003ba7d74@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=christian@brauner.io \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=sforshee@kernel.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox