]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: ioends require logically contiguous file offsets
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 6 Mar 2016 22:32:14 +0000 (09:32 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 6 Mar 2016 22:32:14 +0000 (09:32 +1100)
commit0df61da8ac5b7acb1db6cee142822ebe4724c739
tree67955be0173dc87327bd70ddfc339deaae028897
parente10de3723c53378e7cf441529f563c316fdc0dd3
xfs: ioends require logically contiguous file offsets

We need to create a new ioend if the current writepage call isn't
logically contiguous with the range contained in the previous ioend.
Hopefully writepage gets called in order of increasing file offset.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_aops.c