diff options
author | Ming Lei <[email protected]> | 2015-10-20 23:13:55 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2015-10-21 15:00:54 -0600 |
commit | 7460d389c01741f0dfff733af93d3b3abd9b974e (patch) | |
tree | ec3904b3fab8e38bb5b2c583cdde993ef2d7f451 /net/unix/af_unix.c | |
parent | e18378a60e27ad7b3e11ecc4e2c92159585dee68 (diff) |
block: check bio_mergeable() early before merging
After bio splitting is introduced, one bio can be splitted
and it is marked as NOMERGE because it is too fat to be merged,
so check bio_mergeable() earlier to avoid to try to merge it
unnecessarily.
Signed-off-by: Ming Lei <[email protected]>
Reviewed-by: Jeff Moyer <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions