• C
    xip sendfile removal · d054fe3d
    Carsten Otte 提交于
    This patch removes xip_file_sendfile, the sendfile implementation for
    xip without replacement. Those customers that use xip on s390 are not
    using sendfile() as far as we know, and so far s390 is the only platform
    this could potentially be used on so far.
    Having sendfile is not a popular feature for execute in place file
    systems, however we have a working implementation of splice_read() based
    on fs/splice.c if anyone asks for it.
    At this point in time, it does not seem preferable to merge
    splice_read() for xip because it causes extra maintenence effort due to
    code duplication and it requires struct page behind the xip memory
    segment. We'd like to get rid of that in favor of supporting flash based
    embedded platforms (Monta Vista work) soon.
    Signed-off-by: NCarsten Otte <cotte@de.ibm.com>
    Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
    d054fe3d
fs.h 73.0 KB