lkml.org 
[lkml]   [2010]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 0/17]: New SCSI target framework (SCST) with dev handlers and 2 target drivers
    Vladislav Bolkhovitin, on 09/15/2010 06:52 PM wrote:
    > It, definitely,
    > isn't a piece of beauty, but it's simple and works, so, I believe, good enough. User space,
    > anyway, is supposes to hide all the complexities of the direct SYSFS manipulations under
    > higher level management tools like scstadmin.

    There's one more point I forgot to note why having the separate SYSFS
    management thread is good: it naturally serializes all SYSFS management
    operations, so allows to simplify locking in target drivers and dev
    handlers. For instance, it allows in add_target() callback don't bother
    if del_target() or another add_target() for the same target name called
    simultaneously.

    Thanks,
    Vlad


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