lkml.org 
[lkml]   [2011]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [GIT PULL] Btrfs pull request
    On Wed, Nov 09, 2011 at 11:29:31AM +0100, Jan Schmidt wrote:
    > Am 09.11.2011 08:48, schrieb Christoph Hellwig:
    > >On Tue, Nov 08, 2011 at 08:07:01PM -0500, Chris Mason wrote:
    > >>Looks like bio_add_page() is failing and we're getting the enomem from
    > >>there. LVM is only letting us put one page in each bio.
    > >
    > >Yes, at the moment all bio based DM targets only allow single page I/O.
    >
    > Wait. If I got that correctly, each bio_add_page needs special
    > ENOMEM treatment (assuming the target could always be a device
    > mapper target), right?
    >
    > "grep bio_add_page fs/btrfs/*.c" will make you unhappy.

    You can always add a single page into a bio. We do need to deal better
    with mixed devices where some have a low limit and some a high limit.

    -chris



    \
     
     \ /
      Last update: 2011-11-09 13:15    [W:3.257 / U:0.276 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site