* linux-next: manual merge of the block tree with the vfs-idmapping tree
@ 2023-05-10 0:55 Stephen Rothwell
2023-05-10 12:48 ` Jens Axboe
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2023-05-10 0:55 UTC (permalink / raw)
To: Jens Axboe, Christian Brauner, Seth Forshee
Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1146 bytes --]
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.
--
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 block tree with the vfs-idmapping tree
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
2023-05-11 1:07 ` Stephen Rothwell
0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2023-05-10 12:48 UTC (permalink / raw)
To: Stephen Rothwell, Christian Brauner, Seth Forshee
Cc: Linux Kernel Mailing List, Linux Next Mailing List
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-next: manual merge of the block tree with the vfs-idmapping tree
2023-05-10 12:48 ` Jens Axboe
@ 2023-05-11 1:07 ` Stephen Rothwell
2023-05-11 18:04 ` Christian Brauner
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2023-05-11 1:07 UTC (permalink / raw)
To: Jens Axboe
Cc: Christian Brauner, Seth Forshee, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
Hi Jens,
On Wed, 10 May 2023 06:48:39 -0600 Jens Axboe <axboe@kernel.dk> wrote:
>
> 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.
That appears to have been done now, thanks.
--
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 block tree with the vfs-idmapping tree
2023-05-11 1:07 ` Stephen Rothwell
@ 2023-05-11 18:04 ` Christian Brauner
0 siblings, 0 replies; 4+ messages in thread
From: Christian Brauner @ 2023-05-11 18:04 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Jens Axboe, Christian Brauner, Seth Forshee,
Linux Kernel Mailing List, Linux Next Mailing List
On Thu, May 11, 2023 at 11:07:50AM +1000, Stephen Rothwell wrote:
> Hi Jens,
>
> On Wed, 10 May 2023 06:48:39 -0600 Jens Axboe <axboe@kernel.dk> wrote:
> >
> > 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.
>
> That appears to have been done now, thanks.
Yeah, sorry. LSFMM makes it a bit hard to be consistent about my
replies and after my first reply I only had rolled vfs/for-next rolled
forward but not vfs-idmapping/for-next. The latter repo will likely go
away soonish and then only vfs/* will be left.
Christian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-05-11 18:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2023-05-11 1:07 ` Stephen Rothwell
2023-05-11 18:04 ` Christian Brauner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox