Don't assume that strategy is only called for read. Check the passed
flag for F_READ or F_WRITE and fail if it is neither. Open the disks for
writing and call host_read/host_write depending on that flag.
Sponsored by: Netflix
Differential D44016
kboot: Implement write support for hostdisk imp on Feb 21 2024, 10:08 PM. Authored by Tags None Referenced Files
Subscribers
Details Don't assume that strategy is only called for read. Check the passed Sponsored by: Netflix This fixes boot once with kboot.
Diff Detail
|