Skip to content

pNFS blocklayout handling for transient devices

Benjamin Coddington linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pnfs/blocklayout: set PNFS_LAYOUTRETURN_ON_ERRORfs/nfs/blocklayout/blocklayout.c fs/nfs/pnfs.h+5 -10 replies
2/3pnfs/blocklayout: Revalidate SCSI disks after registrationfs/nfs/blocklayout/dev.c+7 -13 replies
3/3pnfs/blocklayout: handle transient devicesfs/nfs/blocklayout/blocklayout.c fs/nfs/blocklayout/dev.c fs/nfs/pnfs.c +2 more+82 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/3] pNFS blocklayout handling for transient devices

This set improves the blocklayoutdriver's handling of layouts when devices are not present on the a client, or become unavailable. Ideally, clients should not continually spam a server with LAYOUTGET for known layouts, and GETDEVINFO for known devices, since it may be a common scenario to have some clients that have access to the block devices, and some clients that do not.

In addition to better handling situations where devices are unavailable, patches 2 and 3 fix crashes if SCSI devices do not exist or are already have existing reservations.

Benjamin Coddington (3):
pnfs/blocklayout: set PNFS_LAYOUTRETURN_ON_ERROR pnfs/blocklayout: Revalidate SCSI disks after registration pnfs/blocklayout: handle transient devices

 fs/nfs/blocklayout/blocklayout.c | 84 +++++++++++++++++++++++++++++++++++++---
 fs/nfs/blocklayout/dev.c         | 15 ++++---
 fs/nfs/pnfs.c                    |  2 +-
 fs/nfs/pnfs.h                    |  6 ++-
 fs/nfs/pnfs_dev.c                |  1 -
 5 files changed, 94 insertions(+), 14 deletions(-)
Signature · 1 line
2.9.3