ACK: [PATCH 0/1] [SRU][O/gcp] Fix switching IO scheduler to "none"
Marcelo Henrique Cerri
marcelo.cerri at canonical.com
Mon Oct 7 15:00:02 UTC 2024
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On Mon, Oct 07 2024, Paolo Pisati wrote:
> BugLink: https://bugs.launchpad.net/bugs/2083845
>
> [Impact]
> With Oracular linux-gcp kernel version 6.11.0-1002.2, running the google-guest-agent causes an error. The guest-agent sets the I/O scheduler to 'none', causing errors such as below:
>
> ```
> 2024-10-07T09:24:03.262548+00:00 oracular-old-gga-test google_guest_agent[1125]: panic: invalid return from write: got 256 from a write of 4
> ```
>
> With strace, we can also see that the return value of write is unexpected:
>
> [pid 3127] write(7, "none", 4) = 256
>
> [Fix]
>
> Fix commit is e3accac1a976e65491a9b9fba82ce8ddbd3d2389 ("block: Fix elv_iosched_local_module handling of "none" scheduler").
>
> [How to test]
>
> Apply the fix, rebuild the kernel and try to change scheduler in sysfs, e.g.:
>
> # echo "none" > /sys/devices/virtual/block/loop1/queue/scheduler
> # echo $?
> 0
>
> [Regression potential]
>
> Upstream clean cherry-pick, already part of v6.11.2.
>
> Damien Le Moal (1):
> block: Fix elv_iosched_local_module handling of "none" scheduler
>
> block/elevator.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> --
> 2.34.1
Clean cherry pick and good test results. LGTM
Acked-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
- --
Regards,
Marcelo
-----BEGIN PGP SIGNATURE-----
iQHQBAEBCgA6FiEExJjLjAfVL0XbfEr56e82LoessAkFAmcD93IcHG1hcmNlbG8u
Y2VycmlAY2Fub25pY2FsLmNvbQAKCRDp7zYuh6ywCXrTDACtH14G64FvgNOVlqVl
YQMAJY69l6YPaOCuTYspJ3GbkEW17RLIPSerrS/X7kzjpusjEQlMhwGqiGsHIje7
8UCWFMtY6fqGMZXErmdp6f5FFPoEVf3NoV4bQ3vAx1dMWHrlFOL2kju0z8FiQTxM
2OPu8mdM/7pAGD0L98at+Vt6VlJq9s6R6Nq0fNvZ8+mXxqFQ/bwrfICYdGSz56hs
vpe4kNY8HVmi8riln2aXQC+eL9ZyqCB2pvJ5Ck11bJrTOvFNcmikajOBTG0541Uo
d1ioNTZ4WtH2xV8ZxDihDJcal/pnE089OG9Tq/e/Z2Bl96aRH78cJ279Fg5n04r7
w/yfnlhjVES8Fp8KgXR1A14OKR9QT/5vKfE7T+UlziUS8IuiJHDhAFQVclvWWApY
HUjW5yguo5ITNI1AE1ZK7Lk0XzEeP0WzwgdOkL0zNk8kD9zUECZrIeeN5enRl6bN
2LrH6bz9aMatkRmD4qtuGT1uGkRRmc9ToWki5sACU7l1Z5c=
=Tnxl
-----END PGP SIGNATURE-----
More information about the kernel-team
mailing list