X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Fobd_support.h;h=71c5046830d414ab51a85903cacc8697d815bb39;hp=a1f0b1023f610ee5b5f0b07e72852a9ffc312660;hb=c1f6b32958c799412c830f35f8d16ed7275407ea;hpb=64e9b3dab58b08a57fd8832491fb5eb89a575ee4 diff --git a/lustre/include/obd_support.h b/lustre/include/obd_support.h index a1f0b10..71c5046 100644 --- a/lustre/include/obd_support.h +++ b/lustre/include/obd_support.h @@ -70,6 +70,10 @@ extern unsigned int obd_alloc_fail_rate; int __obd_fail_check_set(__u32 id, __u32 value, int set); +/* lvfs.c */ +int obd_alloc_fail(const void *ptr, const char *name, const char *type, + size_t size, const char *file, int line); + /* Timeout definitions */ #define LDLM_TIMEOUT_DEFAULT 20 #define OBD_TIMEOUT_DEFAULT 100