Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f7368144 authored by Lokesh Nagappa Jaliminche's avatar Lokesh Nagappa Jaliminche Committed by Greg Kroah-Hartman
Browse files

staging/lustre/llite: changes to avoid cache corruption



ll_find_alias is responsible for getting alias for inode
which can be reused. Directories are assumed to have unique
alias, where in case of non-directories there can be multiple
aliases. In case of lustre there can be two type of aliases
i.e. discon_alias and invalid_alias. Usage of discon_alias in
case of non-directories may corrupt dcache and leads to kernel
crash. Changes made to avoid use of discon_alias in case of
non-directories.

Seagate-bug-id: MRP-2739, MRP-3601
Signed-off-by: default avatarLokesh Nagappa Jaliminche <lokesh.jaliminche@seagate.com>
Reviewed-by: default avatarUjjwal Lanjewar <ujjwal.lanjewar@seagate.com>
Reviewed-by: default avatarAshish Purkar <ashish.purkar@seagate.com>
Reviewed-by: default avatarAndrew Perepechko <andrew.perepechko@seagate.com>
Tested-by: default avatarParinay Vijayprakash Kondekar <parinay.kondekar@seagate.com>
Reviewed-on: http://review.whamcloud.com/17732
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7613


Reviewed-by: default avatarNiu Yawei <yawei.niu@intel.com>
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8d897d25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment