[LU-575] lfs find fixes Created: 08/Aug/11  Updated: 05/Jul/23  Resolved: 13/Dec/11

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.2.0, Lustre 2.1.3

Type: Improvement Priority: Minor
Reporter: Vitaly Fertman Assignee: Oleg Drokin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-16946 allow "lfs find -[abcm]time" within a... Open
is related to LU-16760 "lfs find" support for fscrypt and ot... Resolved
Rank (Obsolete): 4809

 Description   

lfs find should send getattr on mds only if needed;
lfs find should not break on matched obd but check other parameters as well;
lfs find compare fixes:

  • size +N is supposed to find files larger than N, equal size is not included;
  • ! size -N is supposed to find files larger or equal N;
  • size units are to be initiailized to 1 if none is specified (K|M|G) to find the proper region;
  • file type should not be checked twice, but instead to be checked if not yet;
  • return value from previous time checks in find_time_check() should not screw up another check;


 Comments   
Comment by Vitaly Fertman [ 08/Aug/11 ]

http://review.whamcloud.com/1195

Comment by Vitaly Fertman [ 27/Oct/11 ]

http://review.whamcloud.com/1195
http://review.whamcloud.com/1626

Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = FAILURE
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/tests/sanity.sh
  • lustre/utils/lfs.c
  • lustre/utils/liblustreapi.c
Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = SUCCESS
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/utils/liblustreapi.c
  • lustre/tests/sanity.sh
  • lustre/utils/lfs.c
Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = SUCCESS
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/utils/liblustreapi.c
  • lustre/utils/lfs.c
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = SUCCESS
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/tests/sanity.sh
  • lustre/utils/liblustreapi.c
  • lustre/utils/lfs.c
Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = SUCCESS
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/tests/sanity.sh
  • lustre/utils/liblustreapi.c
  • lustre/utils/lfs.c
Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = SUCCESS
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/utils/liblustreapi.c
  • lustre/utils/lfs.c
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = SUCCESS
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/utils/lfs.c
  • lustre/tests/sanity.sh
  • lustre/utils/liblustreapi.c
Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = SUCCESS
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/utils/lfs.c
  • lustre/utils/liblustreapi.c
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = SUCCESS
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/utils/lfs.c
  • lustre/tests/sanity.sh
  • lustre/utils/liblustreapi.c
Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » i686,client,el5,ofa #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = SUCCESS
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/utils/lfs.c
  • lustre/utils/liblustreapi.c
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = SUCCESS
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/utils/lfs.c
  • lustre/tests/sanity.sh
  • lustre/utils/liblustreapi.c
Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = SUCCESS
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/tests/sanity.sh
  • lustre/utils/liblustreapi.c
  • lustre/utils/lfs.c
Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = SUCCESS
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/utils/lfs.c
  • lustre/utils/liblustreapi.c
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 13/Dec/11 ]

Integrated in lustre-master » i686,server,el5,ofa #380
LU-575 MRP-133 lfs find speedup (Revision 8cb2e445339effe9bb3db23df47595a043b7e4ff)

Result = SUCCESS
Oleg Drokin : 8cb2e445339effe9bb3db23df47595a043b7e4ff
Files :

  • lustre/utils/lfs.c
  • lustre/utils/liblustreapi.c
  • lustre/tests/sanity.sh
Comment by Peter Jones [ 13/Dec/11 ]

Landed for 2.2

Comment by Bob Glossman (Inactive) [ 03/May/12 ]

http://review.whamcloud.com/#change,2644
back port to b2_1

Comment by Nathan Rutman [ 21/Nov/12 ]

Xyratex-bug-id: MRP-260
Xyratex-bug-id: MRP-133

Generated at Sat Feb 10 01:08:23 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.