Changeset 2f68778 in rtems for cpukit/libblock


Ignore:
Timestamp:
Dec 16, 2013, 12:44:13 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
56bea43
Parents:
95a57280
git-author:
Sebastian Huber <sebastian.huber@…> (12/16/13 12:44:13)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/20/13 09:31:53)
Message:

Filesystem: Add readv/writev handlers

The readv() and writev() support was implemented in terms of multiple
calls to the read and write handlers. This imposes a problem on device
files which use an IO vector as single request entity. For example a
low-level network device (e.g. BPF(4)) may use an IO vector to create
one frame from multiple protocol layers each with its own IO vector
entry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/src/blkdev-imfs.c

    r95a57280 r2f68778  
    221221  .fsync_h = rtems_blkdev_imfs_fsync_or_fdatasync,
    222222  .fdatasync_h = rtems_blkdev_imfs_fsync_or_fdatasync,
    223   .fcntl_h = rtems_filesystem_default_fcntl
     223  .fcntl_h = rtems_filesystem_default_fcntl,
     224  .readv_h = rtems_filesystem_default_readv,
     225  .writev_h = rtems_filesystem_default_writev
    224226};
    225227
Note: See TracChangeset for help on using the changeset viewer.