aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJaegeuk Kim <[email protected]>2019-01-09 19:17:14 -0800
committerJens Axboe <[email protected]>2019-01-09 20:51:44 -0700
commit5db470e229e22b7eda6e23b5566e532c96fb5bc3 (patch)
tree31e105772718f33a0e7baf9f0e06ac4e5def9b2c /tools/perf/scripts/python/exported-sql-viewer.py
parent649d4968860ba708636ad643bd52b28027367042 (diff)
loop: drop caches if offset or block_size are changed
If we don't drop caches used in old offset or block_size, we can get old data from new offset/block_size, which gives unexpected data to user. For example, Martijn found a loopback bug in the below scenario. 1) LOOP_SET_FD loads first two pages on loop file 2) LOOP_SET_STATUS64 changes the offset on the loop file 3) mount is failed due to the cached pages having wrong superblock Cc: Jens Axboe <[email protected]> Cc: [email protected] Reported-by: Martijn Coenen <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions