diff options
author | Justin T. Gibbs <gibbs@FreeBSD.org> | 2013-09-04 23:32:49 +0000 |
---|---|---|
committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 2013-09-04 23:32:49 +0000 |
commit | c70fe93ad8574e7b8add232fb3890349ab11cc1a (patch) | |
tree | 952a2f2b108ba232350fc5ddb639e0f22ad8eb17 /usr.sbin/rpc.statd | |
parent | 6aceaa3e17411128361fa1725b922d30c9baf2b7 (diff) | |
download | src-c70fe93ad8574e7b8add232fb3890349ab11cc1a.tar.gz src-c70fe93ad8574e7b8add232fb3890349ab11cc1a.zip |
Correct blkback handling of the BLKIF_OP_FLUSH_DISKCACHE opcode.
Properly round-trip the "operation code" for client requests.
sys/dev/xen/blkback/blkback.c:
In xbb_dispatch_dev() when processing a flush request,
correctly set bio->bio_caller1 to the request list (not
bare request) for the operation, as is expected by the
completion handler xbb_bio_done().
In xbb_get_resources(), initialize "operation" in the
driver's internal request object from the client's "ring
request", so it is correct when used to populate the reply
when this operation completes.
Submitted by: Roger Pau Monné
Sponsored by: Citrix Systems R&D
Reviewed by: gibbs
Notes
Notes:
svn path=/head/; revision=255218
Diffstat (limited to 'usr.sbin/rpc.statd')
0 files changed, 0 insertions, 0 deletions