diff options
author | Ming Lei <ming.lei@canonical.com> | 2016-05-30 16:34:32 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-06-09 19:02:47 +0300 |
commit | 1bdc76aea1159a750846c2fc98e404403eb7d51c (patch) | |
tree | eb61e4844ee2862fc43d396645224da2fa6fd177 /lib/ucs2_string.c | |
parent | 80f162ff061c9e280589bb1a1890c7fc21c932cd (diff) | |
download | linux-1bdc76aea1159a750846c2fc98e404403eb7d51c.tar.xz |
iov_iter: use bvec iterator to implement iterate_bvec()
bvec has one native/mature iterator for long time, so not
necessary to use the reinvented wheel for iterating bvecs
in lib/iov_iter.c.
Two ITER_BVEC test cases are run:
- xfstest(-g auto) on loop dio/aio, no regression found
- swap file works well under extreme stress(stress-ng --all 64 -t
800 -v), and lots of OOMs are triggerd, and the whole
system still survives
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Tested-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'lib/ucs2_string.c')
0 files changed, 0 insertions, 0 deletions