Whamcloud - gitweb
LU-5988 obdclass: drop malloc fault and page accounting 10/15110/3
authorAndreas Dilger <andreas.dilger@intel.com>
Sat, 27 Jun 2015 19:47:35 +0000 (13:47 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 10 Jul 2015 03:10:23 +0000 (03:10 +0000)
commit33754bef1a26b40687f2bb8677fb3aadcc2d5c23
tree0111e7dab1358453f672759a436183e2ac26bb24
parent18d33c13f570a6e036f8f0da710d6b60c2d6b1bf
LU-5988 obdclass: drop malloc fault and page accounting

Remove the OBD_ALLOC() memory allocation fault injection since this
is also possible with existing kernel mechanisms and it is no longer
useful to have Lustre-specific code to do this.

Remove the page allocation counters and OBD_PAGE_{ALLOC,FREE} helpers
that are almost entirely unused since the move to CLIO.

Update the max memory allocation counter on /proc read, so that it
doesn't show as lower than the current allocation, in case it hasn't
been updated since the previous ping.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I024919d1e81730a9388e7999938a4cca1e1cab07
Reviewed-on: http://review.whamcloud.com/15110
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/obd_support.h
lustre/obdclass/class_obd.c
lustre/obdclass/linux/linux-sysctl.c
lustre/obdecho/echo.c
lustre/obdecho/echo_client.c
lustre/osd-ldiskfs/osd_handler.c