Skip to contentSkip to conversation

Ceph updates for 6.4-rc1

GIT PULL Merged Ilya Dryomov 4 participants 6 messages May 4, 2023 – May 9, 2023

lore
Share & tools
lore
#0 lore raw

Hi Linus,

The following changes since commit 457391b0380335d5e9a5babdec90ac53928b23b4:

Linux 6.3 (2023-04-23 12:02:52 -0700)

are available in the Git repository at:

https://github.com/ceph/ceph-client.git tags/ceph-for-6.4-rc1

for you to fetch changes up to db2993a423e3fd0e4878f4d3ac66fe717f5f072e:

ceph: reorder fields in 'struct ceph_snapid_map' (2023-04-30 12:37:28 +0200)

----------------------------------------------------------------
A few filesystem improvements, with a rather nasty use-after-free fix from Xiubo intended for stable.

----------------------------------------------------------------
Christophe JAILLET (1):
ceph: reorder fields in 'struct ceph_snapid_map'

Xiubo Li (4):
ceph: do not print the whole xattr value if it's too long
ceph: implement writeback livelock avoidance using page tagging
ceph: fix potential use-after-free bug when trimming caps
ceph: pass ino# instead of old_dentry if it's disconnected

 fs/ceph/addr.c       | 11 +++++++-
 fs/ceph/caps.c       |  2 +-
 fs/ceph/debugfs.c    | 18 ++++++++----
 fs/ceph/dir.c        | 13 +++++++--
 fs/ceph/mds_client.c | 78 ++++++++++++++++++++++++++++++++++------------------
 fs/ceph/mds_client.h |  5 ++--
 fs/ceph/super.h      |  2 ++
 fs/ceph/xattr.c      | 20 +++++++++-----
 8 files changed, 102 insertions(+), 47 deletions(-)
#2 lore raw
In reply to Ilya Dryomov

[re-arranged CC list]

Quoted 10 lines · Ilya Dryomov

Hi Linus,

The following changes since commit 457391b0380335d5e9a5babdec90ac53928b23b4:

Linux 6.3 (2023-04-23 12:02:52 -0700)

are available in the Git repository at:

https://github.com/ceph/ceph-client.git tags/ceph-for-6.4-rc1

Quoted 7 lines

for you to fetch changes up to db2993a423e3fd0e4878f4d3ac66fe717f5f072e:

ceph: reorder fields in 'struct ceph_snapid_map' (2023-04-30 12:37:28 +0200)

----------------------------------------------------------------
A few filesystem improvements, with a rather nasty use-after-free fix from Xiubo intended for stable.

Thank you, Ilya. It's unfortunate that fscrypt support misses yet another merge window, but I guess there are still a few loose ends.

Is there a public list of issues (kernel or ceph proper) still to be sorted out before this feature gets merged? Or is this just a lack of confidence on the implementation stability?

Cheers

Signature · 1 line
Luís
#3 lore raw
Quoted 24 lines · Luís Henriques

[re-arranged CC list]

Quoted 10 lines · Ilya Dryomov

Hi Linus,

The following changes since commit 457391b0380335d5e9a5babdec90ac53928b23b4:

Linux 6.3 (2023-04-23 12:02:52 -0700)

are available in the Git repository at:

https://github.com/ceph/ceph-client.git tags/ceph-for-6.4-rc1

Quoted 7 lines

for you to fetch changes up to db2993a423e3fd0e4878f4d3ac66fe717f5f072e:

ceph: reorder fields in 'struct ceph_snapid_map' (2023-04-30 12:37:28 +0200)

----------------------------------------------------------------
A few filesystem improvements, with a rather nasty use-after-free fix from Xiubo intended for stable.

Quoted 6 lines

Thank you, Ilya. It's unfortunate that fscrypt support misses yet another merge window, but I guess there are still a few loose ends.

Is there a public list of issues (kernel or ceph proper) still to be sorted out before this feature gets merged? Or is this just a lack of confidence on the implementation stability?

Hi Luís,

When fscrypt work got supposedly finalized it was already pretty late in the cycle and it just didn't help that upon pulling it I encountered a subtly broken patch which was NACKed before ("libceph: defer removing the req from osdc just after req->r_callback") and also that "optionally bypass content encryption" leftover. It got addressed but too late for such a large change to be staged for 6.4 merge window.

I would encourage everyone to make another pass over the entire series to make sure that there is nothing eyebrows-raising left there and that it really feels solid.

Thanks,

Ilya

#4 lore raw
Quoted 41 lines · Ilya Dryomov
Quoted 24 lines · Luís Henriques

[re-arranged CC list]

Quoted 10 lines · Ilya Dryomov

Hi Linus,

The following changes since commit 457391b0380335d5e9a5babdec90ac53928b23b4:

Linux 6.3 (2023-04-23 12:02:52 -0700)

are available in the Git repository at:

https://github.com/ceph/ceph-client.git tags/ceph-for-6.4-rc1

Quoted 7 lines

for you to fetch changes up to db2993a423e3fd0e4878f4d3ac66fe717f5f072e:

ceph: reorder fields in 'struct ceph_snapid_map' (2023-04-30 12:37:28 +0200)

----------------------------------------------------------------
A few filesystem improvements, with a rather nasty use-after-free fix from Xiubo intended for stable.

Quoted 6 lines

Thank you, Ilya. It's unfortunate that fscrypt support misses yet another merge window, but I guess there are still a few loose ends.

Is there a public list of issues (kernel or ceph proper) still to be sorted out before this feature gets merged? Or is this just a lack of confidence on the implementation stability?

Hi Luís,

When fscrypt work got supposedly finalized it was already pretty late in the cycle and it just didn't help that upon pulling it I encountered a subtly broken patch which was NACKed before ("libceph: defer removing the req from osdc just after req->r_callback") and also that "optionally bypass content encryption" leftover. It got addressed but too late for such a large change to be staged for 6.4 merge window.

Quoted 3 lines

I would encourage everyone to make another pass over the entire series to make sure that there is nothing eyebrows-raising left there and that it really feels solid.

Thanks for the clarification, Ilya. I'll definitely restart testing and reviewing the whole series, that's something I've been doing every time the patchset is rebased. But yeah my eyes are already so used to look into that code that any issues I may be able to find are probably related with the rebase itself :-)

Cheers,

Signature · 1 line
Luís
#5 lore raw
In reply to Ilya Dryomov
Quoted 29 lines · Ilya Dryomov
Quoted 22 lines · Luís Henriques

[re-arranged CC list]

Quoted 10 lines · Ilya Dryomov

Hi Linus,

The following changes since commit 457391b0380335d5e9a5babdec90ac53928b23b4:

   Linux 6.3 (2023-04-23 12:02:52 -0700)

are available in the Git repository at:

   https://github.com/ceph/ceph-client.git tags/ceph-for-6.4-rc1
Quoted 7 lines

for you to fetch changes up to db2993a423e3fd0e4878f4d3ac66fe717f5f072e:

   ceph: reorder fields in 'struct ceph_snapid_map' (2023-04-30 12:37:28 +0200)

----------------------------------------------------------------
A few filesystem improvements, with a rather nasty use-after-free fix from Xiubo intended for stable.

Quoted 6 lines

Thank you, Ilya. It's unfortunate that fscrypt support misses yet another merge window, but I guess there are still a few loose ends.

Is there a public list of issues (kernel or ceph proper) still to be sorted out before this feature gets merged? Or is this just a lack of confidence on the implementation stability?

Quoted 6 lines

Hi Luís,

When fscrypt work got supposedly finalized it was already pretty late in the cycle and it just didn't help that upon pulling it I encountered a subtly broken patch which was NACKed before ("libceph: defer removing the req from osdc just after req->r_callback")

We still need this patch or a new patch to fix this.

Another patch will only fix the mds request case, but not the osd request case.

thanks

Quoted 12 lines

and also that "optionally
bypass content encryption" leftover. It got addressed but too late for such a large change to be staged for 6.4 merge window.

I would encourage everyone to make another pass over the entire series to make sure that there is nothing eyebrows-raising left there and that it really feels solid.

Thanks,

Ilya