X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fcmm%2Fmdc_device.c;h=58f72f09ea0bd8e59f9f1621cdf3fa434bf9e62c;hp=27c5d63313c731c0013cc0fdfbd531effc944c16;hb=e2af7fb3c91dfb13d34d8e1b2f2df8c09621f768;hpb=47bd80c90b9875871ceacbba75d6ef7157e89e73 diff --git a/lustre/cmm/mdc_device.c b/lustre/cmm/mdc_device.c index 27c5d63..58f72f0 100644 --- a/lustre/cmm/mdc_device.c +++ b/lustre/cmm/mdc_device.c @@ -1,6 +1,4 @@ -/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- - * vim:expandtab:shiftwidth=8:tabstop=8: - * +/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -28,6 +26,8 @@ /* * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. + * + * Copyright (c) 2011, Whamcloud, Inc. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -40,9 +40,6 @@ * Author: Mike Pershin */ -#ifndef EXPORT_SYMTAB -# define EXPORT_SYMTAB -#endif #define DEBUG_SUBSYSTEM S_MDS #include @@ -156,11 +153,13 @@ static int mdc_obd_add(const struct lu_env *env, OBD_CONNECT_MDS_CAPA | OBD_CONNECT_OSS_CAPA | OBD_CONNECT_IBITS | + OBD_CONNECT_BRW_SIZE | OBD_CONNECT_MDS_MDS | OBD_CONNECT_FID | OBD_CONNECT_AT | OBD_CONNECT_FULL20 | OBD_CONNECT_64BITHASH; + ocd->ocd_brw_size = PTLRPC_MAX_BRW_SIZE; rc = obd_connect(env, &desc->cl_exp, mdc, &mdc->obd_uuid, ocd, NULL); OBD_FREE_PTR(ocd); if (rc) {