1
0
Fork 0
remarkable-linux/drivers/staging/lustre/lustre/lmv
wang di 1cf96da241 staging: lustre: lmv: remove nlink check in lmv_revalidate_slaves
If an application attempts to remove millions of files in a
single directory it will fail. This failure was tracked down to
the nlink < 2 check in lmv_revalidate_slaves, because after
nlink reaches to maximum value of LDISKFS_LINK_MAX (65000),
the nlink broadcast back from the server will be reported as
one. The return value of 1 is not invalid so lets remove
the check.

Signed-off-by: wang di <di.wang@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6984
Reviewed-on: http://review.whamcloud.com/16490
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-02-03 13:01:38 +01:00
..
Makefile staging/lustre/obd: final removal of procfs stuff 2015-05-31 15:26:38 +09:00
lmv_fld.c staging: lustre: lmv: honor MDT index when creating volatile file 2016-09-19 09:24:10 +02:00
lmv_intent.c staging: lustre: lmv: remove nlink check in lmv_revalidate_slaves 2017-02-03 13:01:38 +01:00
lmv_internal.h staging: lustre: obd: rename obd_unpackmd() to md_unpackmd() 2016-11-14 16:15:21 +01:00
lmv_obd.c staging: lustre: lustre: Remove old commented out code 2017-02-03 13:01:37 +01:00
lproc_lmv.c staging: lustre: lmv: remove unused placement parameter 2017-02-03 13:01:37 +01:00