summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-02-27 17:58:24 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-03-03 08:31:24 +0100
commit0e8d4c71ab877e1498ab1f0f63be54430e24945a (patch)
tree88ca65b030a91c76fe5d2b12581a2db26cce8c0b /common
parent9552f5150bb2654a0e52aad8c12973896f24f2ee (diff)
downloadbarebox-0e8d4c71ab877e1498ab1f0f63be54430e24945a.tar.gz
barebox-0e8d4c71ab877e1498ab1f0f63be54430e24945a.tar.xz
usb: gadget: fastboot: call discard_range for sparse files as well
We can save some time by explicitly telling the block layer that a range is unused before overwriting it. This brought time my sample write from 445s to 376s. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions