Re: [dm-devel] [PATCH] dm-log-writes: fix bug with too large bios

2016-06-01 Thread Mikulas Patocka
On Wed, 1 Jun 2016, James Johnston wrote: > Hi Mikulas, > > > bio_alloc can allocate a bio with at most BIO_MAX_PAGES (256) vector > > entries. However, the incoming bio may have more vector entries if it was > > allocated by other means. For example, bcache submits bios with more than > >

Re: [dm-devel] [PATCH] dm-log-writes: fix bug with too large bios

2016-05-31 Thread James Johnston
Hi Mikulas, > bio_alloc can allocate a bio with at most BIO_MAX_PAGES (256) vector > entries. However, the incoming bio may have more vector entries if it was > allocated by other means. For example, bcache submits bios with more than > BIO_MAX_PAGES entries. This results in bio_alloc failure. >

Re: [dm-devel] [PATCH] dm-log-writes: fix bug with too large bios

2016-05-27 Thread Josef Bacik
On 05/27/2016 10:51 AM, Mikulas Patocka wrote: bio_alloc can allocate a bio with at most BIO_MAX_PAGES (256) vector entries. However, the incoming bio may have more vector entries if it was allocated by other means. For example, bcache submits bios with more than BIO_MAX_PAGES entries. This