lkml.org 
[lkml]   [2012]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 4/4] virtio_blk: use disk_name_format() to support mass of disks naming
    Hello, James.

    On Mon, Apr 02, 2012 at 11:56:18AM -0700, James Bottomley wrote:
    > So if we're agreed no other devices going forwards should ever use this
    > interface, is there any point unifying the interface? No matter how
    > many caveats you hedge it round with, putting the API in a central place
    > will be a bit like a honey trap for careless bears. It might be safer
    > just to leave it buried in the three current drivers.

    Yeah, that was my hope but I think it would be easier to enforce to
    have a common function which is clearly marked legacy so that new
    driver writers can go look for the naming code in the existing ones,
    find out they're all using the same function which is marked legacy
    and explains what to do for newer drivers.

    Thanks.

    --
    tejun


    \
     
     \ /
      Last update: 2012-04-02 21:03    [W:3.393 / U:0.348 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site