aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2019-03-20 14:27:46 +0800
committerDavid Sterba <[email protected]>2019-04-29 19:02:24 +0200
commit2e3c25136adfb293d517e17f761d3b8a43a8fc22 (patch)
treebf3ed82cb016395c829c008ca107063061459390 /tools/perf/scripts/python/exported-sql-viewer.py
parent02c6db4f7308e4f5adf4df2ef623160bfdb18636 (diff)
btrfs: extent_io: add proper error handling to lock_extent_buffer_for_io()
This function needs some extra checks on locked pages and eb. For error handling we need to unlock locked pages and the eb. There is a rare >0 return value branch, where all pages get locked while write bio is not flushed. Thankfully it's handled by the only caller, btree_write_cache_pages(), as later write_one_eb() call will trigger submit_one_bio(). So there shouldn't be any problem. Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions