Skip to content

libceph: timeout handling fixes

Ilya Dryomov ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 5 patches 7 repliesIn review

4 of 5 patches are in this archive. The cover letter announces 5.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5libceph: nuke time_sub()include/linux/ceph/libceph.h+0 -91 reply
2/5libceph: store timeouts in jiffies, verify user inputdrivers/block/rbd.c fs/ceph/dir.c fs/ceph/mds_client.c +6 more+71 -381 reply
3/5libceph: a couple tweaks for wait loopsnet/ceph/ceph_common.c net/ceph/mon_client.c+4 -53 replies
4/5ceph: simplify two mount_timeout sitesfs/ceph/dir.c fs/ceph/mds_client.c+14 -182 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSage WeilAlex ElderYan, Zheng
SeriesR-b R-b
1/5R-b
2/5R-b
3/5R-b
4/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] libceph: timeout handling fixes

Hello,

With libceph timeouts becoming more and more of a user-exposed thing rather than a debugging thing it's time we harden the supporting code. The issues addressed in this series are described in 2/5.

5/5 is just rebase of an already posted and reviewed patch.

Zheng, please have a look at fs/ceph parts.

Thanks,

Ilya

Ilya Dryomov (5):
libceph: nuke time_sub()
libceph: store timeouts in jiffies, verify user input
libceph: a couple tweaks for wait loops
ceph: simplify two mount_timeout sites
rbd: timeout watch teardown on unmap with mount_timeout

 drivers/block/rbd.c          | 43 ++++++++++++++++++++++++++++-----------
 fs/ceph/dir.c                | 16 +++++----------
 fs/ceph/mds_client.c         | 26 +++++++++++++-----------
 fs/ceph/mds_client.h         |  2 +-
 fs/ceph/super.c              |  2 +-
 include/linux/ceph/libceph.h | 20 ++++++++----------
 net/ceph/ceph_common.c       | 48 +++++++++++++++++++++++++++++++-------------
 net/ceph/mon_client.c        | 13 +++++++++---
 net/ceph/osd_client.c        | 15 +++++++-------
 9 files changed, 111 insertions(+), 74 deletions(-)
Signature · 1 line
1.9.3