• A
    target: Enforce 1 page max for control cdb buffer sizes · d0229ae3
    Andy Grover 提交于
    Due to all cdbs' data buffers being referenced by scatterlists, buffers
    of more than a page are not contiguous. Instead of handling this in all
    control command handlers, we may be able to get away with just limiting
    control cdb data buffers to one page. The only control CDBs we handle that
    have potentially large data buffers are REPORT LUNS and UNMAP, so if we
    didn't want to live with this limitation, they would need to be modified
    to walk the pages in the data buffer's sgl.
    Signed-off-by: NAndy Grover <agrover@redhat.com>
    Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
    d0229ae3
target_core_base.h 26.7 KB