summaryrefslogtreecommitdiff
path: root/libsparse/sparse.cpp
diff options
context:
space:
mode:
authorHridya Valsaraju <hridya@google.com>2019-04-15 10:27:38 -0700
committerHridya Valsaraju <hridya@google.com>2019-04-15 10:36:42 -0700
commit8efadf70e10fcc12e227e98e838e7544fc26256c (patch)
treec9e9cd65b3cce361efac7472d877e2cd49e08bf2 /libsparse/sparse.cpp
parent21aa749ec71e44bdde61f8d6173a18350d1344e5 (diff)
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
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions