diff options
author | 2013-09-22 15:50:50 +0800 | |
---|---|---|
committer | 2013-09-24 17:45:48 +0900 | |
commit | cc7b1bb173676621b092b61d22d8d12b05efb5e8 (patch) | |
tree | 440612ad80fa325aa3a5b316b5f25d87ff6a0f81 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: optimize the victim searching loop slightly (diff) | |
download | linux-dev-cc7b1bb173676621b092b61d22d8d12b05efb5e8.tar.xz linux-dev-cc7b1bb173676621b092b61d22d8d12b05efb5e8.zip |
f2fs: avoid allocating failure in bio_alloc
This patch add macro MAX_BIO_BLOCKS to limit value of npages in
f2fs_bio_alloc, it can avoid allocating failure in bio_alloc caused by
npages is larger than BIO_MAX_PAGES.
Signed-off-by: Yu Chao <chao2.yu@samsung.com>
Reviewed-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions