Whamcloud - gitweb
LU-4008 mdt: Shrink default LOVEA reply buffers 22/9322/10
authorOleg Drokin <oleg.drokin@intel.com>
Thu, 20 Feb 2014 05:00:15 +0000 (00:00 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 11 Apr 2014 19:21:49 +0000 (19:21 +0000)
commit00260466f9c84f21e6db55d5dd6e87e8a9906438
tree8eeeda6900a4982b6f35a086fce6b032b43d0f57
parent109e2da1b156cf038615513b838e18c8d6edf56f
LU-4008 mdt: Shrink default LOVEA reply buffers

Instead of allocating maximum possible LOVEA for intent requests,
allocate a sane default to fit up to 100 stripes, should the size
be bigger, the buffer reallocation code will kick in.

Additionally, since quite awhile ago we no longer send
unlink cookies or EA data to the clients from unlinks/renames,
so we no longer need to allocate reply buffer for them in
mdt_close() and other such places.
Also clean up unused fields related to these buffers in
md_attr structure.

Change-Id: I4c5bfb5f2d39653d5612c90967d5e1ac83d441e6
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/9322
Tested-by: Jenkins
Reviewed-by: Matt Ezell <ezellma@ornl.gov>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/include/md_object.h
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_lib.c
lustre/mdt/mdt_open.c