diff options
author | Ming Lei <ming.lei@redhat.com> | 2019-03-02 09:43:44 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-03-02 20:45:37 +0100 |
commit | aaeee62c841cc1e48231e1d60c304d2da9c4e41c (patch) | |
tree | 79d3ec0b8a6fe6b928beeeb25af27f57bbe6bcb8 /fs/gfs2 | |
parent | block: Replace function name in string with __func__ (diff) | |
download | linux-aaeee62c841cc1e48231e1d60c304d2da9c4e41c.tar.xz linux-aaeee62c841cc1e48231e1d60c304d2da9c4e41c.zip |
block: fix updating bio's front segment size
When the current bvec can be merged to the 1st segment, the bio's front
segment size has to be updated.
However, dcebd755926b doesn't consider that case, then bio's front
segment size may not be correct.
This patch fixes this issue.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Omar Sandoval <osandov@fb.com>
Fixes: dcebd755926b ("block: use bio_for_each_bvec() to compute multi-page bvec count")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions