lkml.org 
[lkml]   [2018]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH v1 0/7] Block/XFS: Support alternative mirror device retry
    On Wed, Nov 28, 2018 at 04:33:03PM +1100, Dave Chinner wrote:
    > One thing that is going to make this more complex at the XFS layer
    > is discontiguous buffers. They require multiple IOs (and therefore
    > bios) and so we are going to need to ensure that all the bios use
    > the same bi_rw_hint.

    Well, in case of raid 1 the load balancing code might actually
    map different bios to different initial legs. What we really need
    is to keep the 'index' or each bio. One good way to archive that
    is to just reuse the bio for the retry instead of allocating a new one.

    \
     
     \ /
      Last update: 2018-11-28 08:39    [W:8.312 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site