diff options
author | Dave Chinner <dchinner@redhat.com> | 2015-04-16 12:00:00 (GMT) |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-04-16 12:00:00 (GMT) |
commit | a06c277a13c3620c8ee9304891758f2fcff9c4a4 (patch) | |
tree | 4ab229dc91e9876a5a42df21f51b61c5977b7735 /fs/xfs/xfs_file.c | |
parent | 6dfa1b67e3b3a9bf536e2fb9ed99001c219822a5 (diff) | |
download | linux-a06c277a13c3620c8ee9304891758f2fcff9c4a4.tar.xz |
xfs: DIO writes within EOF don't need an ioend
DIO writes that lie entirely within EOF have nothing to do in IO
completion. In this case, we don't need no steekin' ioend, and so we
can avoid allocating an ioend until we have a mapping that spans
EOF.
This means that IO completion has two contexts - deferred completion
to the dio workqueue that uses an ioend, and interrupt completion
that does nothing because there is nothing that can be done in this
context.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_file.c')
0 files changed, 0 insertions, 0 deletions