Files
Linux/include/linux
Goldwyn Rodrigues c039b99792 iomap: use a srcmap for a read-modify-write I/O
The srcmap is used to identify where the read is to be performed from.
It is passed to ->iomap_begin, which can fill it in if we need to read
data for partially written blocks from a different location than the
write target.  The srcmap is only supported for buffered writes so far.

Signed-off-by: Goldwyn Rodrigues <[email protected]>
[hch: merged two patches, removed the IOMAP_F_COW flag, use iomap as
      srcmap if not set, adjust length down to srcmap end as well]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Acked-by: Goldwyn Rodrigues <[email protected]>
2019-10-21 08:51:59 -07:00
..
2019-08-09 09:15:05 +02:00
…
…
2019-09-17 10:27:46 -07:00
…
…
…
…
2019-09-16 09:56:27 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-20 22:09:52 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-28 21:17:12 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-05 19:52:33 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 21:52:53 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-05 11:40:54 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-24 15:54:08 -07:00
2019-10-02 06:36:50 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-07 04:28:05 -03:00
…
2019-09-02 11:43:54 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-05 12:32:05 +02:00
…
…
…
…
…
…
…
…
2019-08-14 15:30:35 +02:00
…
…
…
…
…
…
…
2019-08-08 09:09:25 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-10-04 18:11:08 -07:00
…
2019-08-01 21:49:46 +02:00
…
…
…
…
…
2019-08-21 00:38:54 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-23 16:39:26 +01:00
…
…
…
2019-07-31 19:03:35 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-25 17:51:41 -07:00
…
…
2019-09-07 21:42:25 +02:00
…
2019-09-04 13:37:17 +02:00
…
…
…
…
…
…
…
…
…
…
…
2019-08-30 07:27:17 -07:00
…
2019-08-01 20:51:22 +02:00
…
…
2019-08-20 17:05:05 +02:00
2019-07-31 19:03:35 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…