aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/systrace_args.c
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@FreeBSD.org>2013-09-04 23:32:49 +0000
committerJustin T. Gibbs <gibbs@FreeBSD.org>2013-09-04 23:32:49 +0000
commitc70fe93ad8574e7b8add232fb3890349ab11cc1a (patch)
tree952a2f2b108ba232350fc5ddb639e0f22ad8eb17 /sys/kern/systrace_args.c
parent6aceaa3e17411128361fa1725b922d30c9baf2b7 (diff)
downloadsrc-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 'sys/kern/systrace_args.c')
0 files changed, 0 insertions, 0 deletions