Handle failed usb/reads and writes correctly
Currently if the device is unplugged from host, there is a lot of log spamming since fastbootd does not not recognize that the device has been disconnected and keeps trying to read/write to the device. 2856 printk messages dropped ** [ 169.941904] c7 579 fastbootd: aio: got error event on read total bufs 1: No such devie ** 2960 printk messages dropped ** [ 169.953328] c7 579 fastbootd: Fastboot command: ** 2074 printk messages dropped ** [ 169.961355] c7 579 fastbootd: aio: got error event on read total bufs 1: No such devie Bug: 121333158 Test: unplug device and check for log spam multiple times Change-Id: I1d4c6f48f34e313c5ebce23d62a4fe6a6373f94f
Loading
Please register or sign in to comment