aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-trace.h
diff options
context:
space:
mode:
authorRoss Lagerwall <[email protected]>2023-04-26 16:40:05 +0000
committerJuergen Gross <[email protected]>2023-05-24 14:35:39 +0000
commitb6ebaa8100090092aa602530d7e8316816d0c98d (patch)
treea43998b3c22124a5af21263bbca4253ea9f87ede /drivers/usb/cdns3/cdns3-trace.h
parentxen/blkback: move blkif_get_x86_*_req() into blkback.c (diff)
downloadkernel-b6ebaa8100090092aa602530d7e8316816d0c98d.tar.gz
kernel-b6ebaa8100090092aa602530d7e8316816d0c98d.zip
xen/blkfront: Only check REQ_FUA for writes
The existing code silently converts read operations with the REQ_FUA bit set into write-barrier operations. This results in data loss as the backend scribbles zeroes over the data instead of returning it. While the REQ_FUA bit doesn't make sense on a read operation, at least one well-known out-of-tree kernel module does set it and since it results in data loss, let's be safe here and only look at REQ_FUA for writes. Signed-off-by: Ross Lagerwall <[email protected]> Acked-by: Juergen Gross <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions