aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2016-08-29 01:33:58 +0000
committerDave Chinner <[email protected]>2016-08-29 01:33:58 +0000
commit17de0a9ff3df8f54f2f47746d118112d4e61d973 (patch)
treeb097752623a7a6a8e1be1540a52a6eb376da76eb /net/switchdev/switchdev.c
parentxfs: prevent dropping ioend completions during buftarg wait (diff)
downloadkernel-17de0a9ff3df8f54f2f47746d118112d4e61d973.tar.gz
kernel-17de0a9ff3df8f54f2f47746d118112d4e61d973.zip
iomap: don't set FIEMAP_EXTENT_MERGED for extent based filesystems
Filesystems like XFS that use extents should not set the FIEMAP_EXTENT_MERGED flag in the fiemap extent structures. To allow for both behaviors for the upcoming gfs2 usage split the iomap type field into type and flags, and only set FIEMAP_EXTENT_MERGED if the IOMAP_F_MERGED flag is set. The flags field will also come in handy for future features such as shared extents on reflink-enabled file systems. Reported-by: Andreas Gruenbacher <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Acked-by: Darrick J. Wong <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions