Mikulas Patocka d659e6cc98 dm io: respect BIO_MAX_PAGES limit
dm-io calls bio_get_nr_vecs to get the maximum number of pages to use
for a given device.  It allocates one additional bio_vec to use
internally but failed to respect BIO_MAX_PAGES, so fix this.

This was the likely cause of:
  https://bugzilla.redhat.com/show_bug.cgi?id=173153

Cc: stable@kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2009-03-16 17:44:30 +00:00
..
2009-02-18 17:41:38 -08:00
2009-03-10 15:55:10 -07:00
2009-03-13 01:16:58 -04:00
2009-02-18 15:37:56 -08:00
2009-01-29 18:04:43 -08:00
2009-02-26 10:32:31 -08:00
2009-01-15 16:39:40 -08:00
2009-03-16 17:44:30 +00:00
2009-02-27 16:26:22 -08:00
2009-02-11 14:25:36 -08:00
2009-02-18 15:37:56 -08:00