diff options
author | Amir Goldstein <amir73il@gmail.com> | 2019-05-05 11:15:49 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2019-05-09 12:44:00 +0200 |
commit | 4d8e7055a4058ee191296699803c5090e14f0dff (patch) | |
tree | a7e72b2ea6aea71fc5f82dbe6a52a224d4f23dc2 /security | |
parent | fsnotify: Clarify connector assignment in fsnotify_add_mark_list() (diff) | |
download | linux-4d8e7055a4058ee191296699803c5090e14f0dff.tar.xz linux-4d8e7055a4058ee191296699803c5090e14f0dff.zip |
fsnotify: fix unlink performance regression
__fsnotify_parent() has an optimization in place to avoid unneeded
take_dentry_name_snapshot(). When fsnotify_nameremove() was changed
not to call __fsnotify_parent(), we left out the optimization.
Kernel test robot reported a 5% performance regression in concurrent
unlink() workload.
Reported-by: kernel test robot <rong.a.chen@intel.com>
Link: https://lore.kernel.org/lkml/20190505062153.GG29809@shao2-debian/
Link: https://lore.kernel.org/linux-fsdevel/20190104090357.GD22409@quack2.suse.cz/
Fixes: 5f02a8776384 ("fsnotify: annotate directory entry modification events")
CC: stable@vger.kernel.org
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions