Skip to content

xen: pvscsi: avoid race, support suspend/resume

Juergen Gross lkml xen-devel 2 versions – Applied

Status from this message: Applied to stable/for-linus-3.20 and tagged for stable, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 6 repliesApplied
  2. v11 patch 6 repliesSuperseded

Changes in v2 from the cover letter

- changed scsiback_do_cmd_fn() as sugested by Jan Beulich
- added adaption of backend parameters in frontend after resuming

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3xen: mark pvscsi frontend request consumed only after last readdrivers/xen/xen-scsiback.c+6 -81 reply
2/3xen: scsiback: add LUN of restored domaindrivers/xen/xen-scsiback.c+14 -54 replies
3/3xen: support suspend/resume in pvscsi frontenddrivers/scsi/xen-scsifront.c+179 -351 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBoris Ostrovsky
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/3] xen: pvscsi: avoid race, support suspend/resume

In the pvscsi backend copy the frontend request to ensure it is not changed by the frontend during processing it in the backend.

Support suspend/resume of the domain to be able to access a pvscsi device n the frontend afterwards.

Changes in V2:
- changed scsiback_do_cmd_fn() as sugested by Jan Beulich
- added adaption of backend parameters in frontend after resuming

Juergen Gross (3):
xen: mark pvscsi frontend request consumed only after last read
xen: scsiback: add LUN of restored domain
xen: support suspend/resume in pvscsi frontend

 drivers/scsi/xen-scsifront.c | 214 ++++++++++++++++++++++++++++++++++++-------
 drivers/xen/xen-scsiback.c   |  33 ++++---
 2 files changed, 199 insertions(+), 48 deletions(-)
Signature · 1 line
2.1.4