lkml.org 
[lkml]   [2010]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 3/3] tcm/fileio: Add UNMAP / Block DISCARD support
    Date
    Nicholas A. Bellinger wrote:

    > @@ -433,6 +448,42 @@ static int fd_emulate_scsi_cdb(struct se_task *task)
    > if (ret < 0)
    > return ret;
    > break;
    > + case UNMAP:
    > + i = igrab(f->f_mapping->host);
    > + if (!(i)) {

    .....

    > + if (!(S_ISBLK(i->i_mode))) {

    .....

    > + if (!(bd)) {

    Is this LISP or what? ;)

    Eike
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2010-09-28 23:09    [W:0.024 / U:0.924 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site