diff options
author | Amir Goldstein <amir73il@gmail.com> | 2019-05-05 12:15:49 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2019-05-09 12:44:00 +0200 |
commit | 4d8e7055a4058ee191296699803c5090e14f0dff (patch) | |
tree | a7e72b2ea6aea71fc5f82dbe6a52a224d4f23dc2 /drivers/tty | |
parent | 11a6f8e2db26519b6468686411deafab81c14741 (diff) | |
download | linux-4d8e7055a4058ee191296699803c5090e14f0dff.tar.gz linux-4d8e7055a4058ee191296699803c5090e14f0dff.tar.bz2 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 'drivers/tty')
0 files changed, 0 insertions, 0 deletions