Re: [PATCH 03/27] block: drbd: remove impossible failure handling

2016-04-05 Thread Lars Ellenberg
On Tue, Apr 05, 2016 at 07:56:48PM +0800, Ming Lei wrote: > For a non-cloned bio, bio_add_page() only returns failure when > the io vec table is full, but in that case, bio->bi_vcnt can't > be zero at all. > > So remove the impossible failure handling. Before the immutable bvecs, we did in fact s

[PATCH 03/27] block: drbd: remove impossible failure handling

2016-04-05 Thread Ming Lei
For a non-cloned bio, bio_add_page() only returns failure when the io vec table is full, but in that case, bio->bi_vcnt can't be zero at all. So remove the impossible failure handling. Signed-off-by: Ming Lei --- drivers/block/drbd/drbd_receiver.c | 14 +- 1 file changed, 1 insertio