summaryrefslogtreecommitdiff
path: root/fs/btrfs/ordered-data.c
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.de>2015-06-30 14:42:08 -0700
committerChris Mason <clm@fb.com>2015-07-01 17:17:17 -0700
commit1c919a5e13702caffbe2d2c7c305f9d0d2925160 (patch)
treef957cdf5202a01eaa4cb9ac97261205304005309 /fs/btrfs/ordered-data.c
parent0efa9f48c7e6c15e75946dd2b1c82d3d19e13545 (diff)
btrfs: don't update mtime/ctime on deduped inodes
One issue users have reported is that dedupe changes mtime on files, resulting in tools like rsync thinking that their contents have changed when in fact the data is exactly the same. We also skip the ctime update as no user-visible metadata changes here and we want dedupe to be transparent to the user. Clone still wants time changes, so we special case this in the code. This was tested with the btrfs-extent-same tool. Signed-off-by: Mark Fasheh <mfasheh@suse.de> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/ordered-data.c')
0 files changed, 0 insertions, 0 deletions