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

From: Juergen Gross
Date: Tue Feb 17 2015 - 02:03:28 EST


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(-)

--
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/