Commit 39eb051
dax: advance the iomap_iter on dedupe range
Advance the iter on successful dedupe. Dedupe range uses two iters
and iterates so long as both have outstanding work, so
correspondingly this needs to advance both on each iteration. Since
dax_range_compare_iter() now returns status instead of a byte count,
update the variable name in the caller as well.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Link: https://lore.kernel.org/r/20250224144757.237706-9-bfoster@redhat.com
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>1 parent 9ba439c commit 39eb051
1 file changed
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2001 | 2001 | | |
2002 | 2002 | | |
2003 | 2003 | | |
2004 | | - | |
| 2004 | + | |
2005 | 2005 | | |
2006 | 2006 | | |
2007 | 2007 | | |
2008 | 2008 | | |
2009 | 2009 | | |
| 2010 | + | |
2010 | 2011 | | |
2011 | 2012 | | |
2012 | 2013 | | |
2013 | 2014 | | |
2014 | 2015 | | |
2015 | 2016 | | |
2016 | 2017 | | |
2017 | | - | |
| 2018 | + | |
2018 | 2019 | | |
2019 | 2020 | | |
2020 | 2021 | | |
| |||
2037 | 2038 | | |
2038 | 2039 | | |
2039 | 2040 | | |
2040 | | - | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
2041 | 2048 | | |
2042 | 2049 | | |
2043 | 2050 | | |
| |||
2060 | 2067 | | |
2061 | 2068 | | |
2062 | 2069 | | |
2063 | | - | |
| 2070 | + | |
2064 | 2071 | | |
2065 | 2072 | | |
2066 | 2073 | | |
2067 | | - | |
| 2074 | + | |
2068 | 2075 | | |
2069 | | - | |
| 2076 | + | |
2070 | 2077 | | |
2071 | | - | |
| 2078 | + | |
2072 | 2079 | | |
2073 | 2080 | | |
2074 | 2081 | | |
| |||
0 commit comments