Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master sync round 2 #19

Closed
wants to merge 49 commits into from
Closed

Commits on Jul 19, 2013

  1. staging/lustre: remove bogus ifndef EXPORT_SYMBOL

    Signed-off-by: Peng Tao <tao.peng@emc.com>
    bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    fececdf View commit details
    Browse the repository at this point in the history
  2. staging/lustre/obdclass: restore lu_ref

    lu_ref.[ch] were mistakenly removed by coan2. Add them back and guard
    with CONFIG_LUSTRE_DEBUG_LU_REF_CHECK.
    
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    ad3c3f2 View commit details
    Browse the repository at this point in the history
  3. staging/lustre/llite: use READ, WRITE around ll_rw_stats_tally()

    In vvp_io_write_start() the stats function ll_rw_stats_tally() was
    incorrectly called with a rw argument of 0. Correct this and use the
    macros READ and WRITE in and around ll_rw_stats_tally() for clarity.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3384
    Lustre-change: http://review.whamcloud.com/6447
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    jhammond-intel authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    9120cf3 View commit details
    Browse the repository at this point in the history
  4. staging/lustre/llite: missing last bit in ll_have_md_lock

    Missing the last bit during INODELOCK check in ll_have_md_lock.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3385
    Lustre-change: http://review.whamcloud.com/6438
    Signed-off-by: wang di <di.wang@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    wang di authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    a9bcc1a View commit details
    Browse the repository at this point in the history
  5. staging/lustre: fix 'program hangs' errors

    Fix 'program hangs' defects found by Coverity version 6.5.1:
    Missing unlock (LOCK)
    Returning without unlocking.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3054
    Lustre-change: http://review.whamcloud.com/5870
    Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
    Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    sebastienbuisson authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    b72fc44 View commit details
    Browse the repository at this point in the history
  6. staging/lustre/llite: check alloc in ll_file_data_get, ll_dir_ioctl

    In ll_file_data_get() and ll_dir_ioctl() return error on failed
    allocations.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2753
    Lustre-change: http://review.whamcloud.com/5845
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
    Reviewed-by: Sebastien Buisson <sebastien.buisson@bull.net>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    jhammond-intel authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    52d753a View commit details
    Browse the repository at this point in the history
  7. staging/lustre/llite: A not locked mutex can be unlocked.

    In case of memory pressure a not locked mutex can be unlocked
    in function ll_file_open(). This is not allowed and subsequent
    behavior is not defined.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3157
    Lustre-change: http://review.whamcloud.com/6028
    Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
    Reviewed-by: John Hammond <johnlockwoodhammond@gmail.com>
    Reviewed-by: Nikitas Angelinas <nikitas_angelinas@xyratex.com>
    Reviewed-by: Sebastien Buisson <sebastien.buisson@bull.net>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Dmitry Eremin authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    3f6a80c View commit details
    Browse the repository at this point in the history
  8. staging/lustre/llite: check ll_prep_md_op_data() using IS_ERR()

    In ll_file_ioctl() and ll_swap_layouts() check the result of
    ll_prep_md_op_data() using IS_ERR().
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3283
    Lustre-change: http://review.whamcloud.com/6275
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
    Reviewed-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    jhammond-intel authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    f4bfd09 View commit details
    Browse the repository at this point in the history
  9. staging/lustre/ldlm: print FID in lvbo_init(), lvbo_update

    Print the namespace and OBD device name, as well as the first two
    lock resource fields (typically the FID) if there is an error with
    loading the object from disk.  This will be more important with
    FID-on-OST and also the MDS.  Using fid_extract_from_res_name() isn't
    possible in the LDLM code, since the lock resource may not be a FID.
    
    Make fid_extract_quota_resid() argument order and name consistent
    with other fid_*_res() functions, with FID first and resource second.
    
    Fix a bug in ofd_lvbo_init() where NULL lvb is accessed on error.
    
    Print FID in ofd_lvbo_update() CDEBUG() and CERROR() messages.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2193
    Lustre-change: http://review.whamcloud.com/4501
    Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
    Reviewed-by: Bobi Jam <bobijam@gmail.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Andreas Dilger authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    17f479e View commit details
    Browse the repository at this point in the history
  10. staging/lustre/ptlrpc: race in pinger (use-after-free situation)

    The race is result of use-after-free situation:
    
    ~ ptlrpc_stop_pinger()          ~ ptlrpc_pinger_main()
    ---------------------------------------------------------------
    thread_set_flags(SVC_STOPPING)
    cfs_waitq_signal(pinger_thread) ...
    ...                             thread_set_flags(SVC_STOPPED)
    l_wait_event(thread_is_stopped)
    OBD_FREE_PTR(pinger_thread)
    ...                             cfs_waitq_signal(pinger_thread)
    ---------------------------------------------------------------
    
    The memory used by pinger_thread might have been freed and
    reallocated to something else, when ptlrpc_pinger_main()
    used it in cvs_waitq_signal().
    
    Signed-off-by: Li Wei <wei.g.li@intel.com>
    Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3032
    Lustre-change: http://review.whamcloud.com/6040
    Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
    Reviewed-by: Mike Pershin <mike.pershin@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Dmitry Eremin authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    4f1f071 View commit details
    Browse the repository at this point in the history
  11. staging/lustre/ptlrpc: Translate between host and network errnos

    Lustre puts system errors (e.g., ENOTCONN) on wire as numbers
    essentially specific to senders' architectures.  While this is fine
    for x86-only sites, where receivers share the same error number
    definition with senders, problems will arise, however, for sites
    involving multiple architectures with different error number
    definitions.  For instance, an ENOTCONN reply from a sparc server will
    be put on wire as -57, which, for an x86 client, means EBADSLT
    instead.
    
    To solve the problem, this patch defines a set of network errors for
    on-wire or on-disk uses.  These errors correspond to a subset of the
    x86 system errors and share the same number definition, maintaining
    compatibility with existing x86 clients and servers.
    
    Then, either error numbers could be translated at run time, or all
    host errors going on wire could be replaced with network errors in the
    code.  This patch does the former by introducing both generic and
    field-specific translation routines and calling them at proper places,
    so that translations for existing fields are transparent.
    (Personally, I tend to think the latter way might be worthwhile, as it
    is more straightforward conceptually.  Do we really need so many
    different errors?  Should errors returned by kernel routines really be
    passed up and eventually put on wire?  There could even be security
    implications in that.)
    
    Thank Fujitsu for the original idea and their contributions that make
    this available upstream.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2743
    Lustre-change: http://review.whamcloud.com/5577
    Signed-off-by: Li Wei <wei.g.li@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Hiroya Nozaki <nozaki.hiroya@jp.fujitsu.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    liw authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    cba7572 View commit details
    Browse the repository at this point in the history
  12. staging/lustre/mdc: layout lock rpc must not take rpc_lock

    When a client issue an RPC to get a layout lock, it
    must not hold rpc_lock because in case of a restore
    the rpc can be blocking for a long time
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3200
    Lustre-change: http://review.whamcloud.com/6115
    Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
    Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
    Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    lafoucriere authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    55c65df View commit details
    Browse the repository at this point in the history
  13. staging/lustre/ldlm: split client namespaces into active and inactive

    The main reason behind this is ldlm_poold walks all namespaces currently
    no matter if there are any locks or not. On large systems this could take
    quite a bit of time, esp. since ldlm_poold is currently woken up once per
    second.
    
    Now every time a client namespace loses it's last resource it is placed
    into an inactive list that is not touched by ldlm_poold as pointless.
    On creation of a first resource in a namespace it is placed back into
    the active list.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2924
    Lustre-change: http://review.whamcloud.com/5624
    Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
    Reviewed-by: Hiroya Nozaki <nozaki.hiroya@jp.fujitsu.com>
    Reviewed-by: Niu Yawei <yawei.niu@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Oleg Drokin authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    a02682c View commit details
    Browse the repository at this point in the history
  14. staging/lustre: Only wake up ldlm_poold as frequently as the check in…

    …terval
    
    We used to wake up ldlm poold every second, but that's overkill,
    we should just see how much time is left until next closest recalc
    interval hits and sleep this much.
    This will make "per-second" client grant statistic not actually
    per-second, but I don't think we need any precision in that code
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2924
    Lustre-change: http://review.whamcloud.com/5793
    Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
    Reviewed-by: Vitaly Fertman <vitaly_fertman@xyratex.com>
    Reviewed-by: Hiroya Nozaki <nozaki.hiroya@jp.fujitsu.com>
    Reviewed-by: Niu Yawei <yawei.niu@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Oleg Drokin authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    aab642d View commit details
    Browse the repository at this point in the history
  15. staging/lustre: Make quota namespace refcounting consistent

    It seems quota namespace is needlessly referenced on connect,
    but that's not necessary as it could not go away until entire
    obd goes away.
    On the other hand this extra reference disturbs other logic
    depending on empty namespace having zero refcount, so this patch
    drops such extra referencing.
    
    This picks client side change of the original patch.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2924
    Lustre-change: http://review.whamcloud.com/6234
    Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
    Reviewed-by: Niu Yawei <yawei.niu@intel.com>
    Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Oleg Drokin authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    de3373c View commit details
    Browse the repository at this point in the history
  16. staging/lustre/dlmlock: compress out unused space

    * lustre/include/lustre_dlm.h: Remove all bit fields and the unused
      weighing callback procedure.  respell LDLM_AST_DISCARD_DATA as
      LDLM_FL_AST_DISCARD_DATA to match other flags.
    * .gitignore: ignore emacs temporary files
    * autogen.sh: rebuild the lock bits, if autogen is available.
    * contrib/bit-masks/lustre_dlm_flags.def: define the ldlm_lock flags
    * contrib/bit-masks/lustre_dlm_flags.tpl: template for emitting text
    * contrib/bit-masks/Makefile: construct the .c and .h files
      The .c file is for constructing a crash extension and is not
      preserved.
    * contrib/bit-masks/.gitignore: ignore built products
    * lustre/contrib/wireshark/packet-lustre.c: use built files instead
      of local versions of the defines.
    
    In the rest of the modified sources, replace flag field references
    with bit mask references.
    
    * lustre/osc/osc_lock.c: removed osc_lock_weigh, too
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2771
    Lustre-change: http://review.whamcloud.com/5312
    Signed-off-by: Bruce Korb <bruce_korb@xyratex.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Reviewed-by: Keith Mannthey <Keith.Mannthey@intel.com>
    Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
    Reviewed-by: <bruce.korb@gmail.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Bruce Korb authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    fc88c32 View commit details
    Browse the repository at this point in the history
  17. staging/lustre/md: fix lu_ucred.c boilerplate

    In preparing Ie3a3cd99 (LU-1330 obdclass: splits server-side object
    stack from client) the lu_ucred infrastructure was put in its own
    file.  Fixup the boilerplate of this file to give the proper path,
    short description, and authors.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-1330
    Lustre-change: http://review.whamcloud.com/5910
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Vitaly Fertman <vitaly_fertman@xyratex.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    jhammond-intel authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    faa70a4 View commit details
    Browse the repository at this point in the history
  18. staging/lustre/layout: introduce new layout for released files

    Released files now have a standard layout (with generation, pool, ...)
    and a stripe count 0 and lmm_pattern flag LOV_PATTERN_F_RELEASED.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2482
    Lustre-change: http://review.whamcloud.com/4816
    Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
    Signed-off-by: Johann Lombardi <johann.lombardi@intel.com>
    Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
    Reviewed-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Jinshan Xiong authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    dcf68fe View commit details
    Browse the repository at this point in the history
  19. staging/lustre/mdt: add macros for fid string len

    add 2 macros for the length of a fid string 0xSEQ:0xOID:0xVER
    and it's brace version (FID_NOBRACE_LEN, and FID_LEN)
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2782
    Lustre-change: http://review.whamcloud.com/5299
    Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
    Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    lafoucriere authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    f23585e View commit details
    Browse the repository at this point in the history
  20. staging/lustre/llapi: add user space method for lov_user_md

    move lov_mds_md_size from obd_lov.h to lustre_idl.h
    to have it close to lov_mds_md definition.
    
    add lov_user_md_size() to compute lum size so
    llapi and user space utils do not use kernel internal
    definitions/methods
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3345
    Lustre-change: http://review.whamcloud.com/6345
    Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
    Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    lafoucriere authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    15a1cf5 View commit details
    Browse the repository at this point in the history
  21. staging/lustre/obdclass: use a dummy structure for lu_ref_link

    Move the definition of struct lu_ref_link to lu_ref.h.  If USE_LU_REF
    is not defined then define it to be the empty struct.  Change the
    return type of lu_ref_add() and lu_ref_add_atomic() to void.  Add
    lu_ref_add_at() taking same arguments as lu_ref_add() togerther with a
    pointer to a struct lu_ref_link and returning void.  Adjust all
    structures containing a lu_ref_link pointer to contain a struct
    lu_ref_link instead.  Use lu_ref_add_at() and lu_ref_del_at() to
    handle embedded lu_ref_links.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3059
    Lustre-change: http://review.whamcloud.com/5920
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
    Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
    Reviewed-by: Mike Pershin <mike.pershin@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    jhammond-intel authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    ca02268 View commit details
    Browse the repository at this point in the history
  22. staging/lustre: fix 'code maintainability' errors

    Fix 'code maintainability' issues found by Coverity version 6.5.1:
    Unused pointer value (UNUSED_VALUE)
    Pointer returned by function is never used.
    Missing varargs init or cleanup (VARARGS)
    va_end was not called for variable.
    
    Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3107
    Lustre-change: http://review.whamcloud.com/5944
    Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
    Reviewed-by: John Hammond <johnlockwoodhammond@gmail.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    sebastienbuisson authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    607dd18 View commit details
    Browse the repository at this point in the history
  23. staging/lustre/fid: prepare FID module for client server split

    Split FID server from client, fid_{handler,store,lib}.c are not
    compliled unless server support is enabled.  Generally cleanup
    includes in lustre/fid/ and reduce the need for client code to
    directly or indirectly include {dt,md}_object.h.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-1330
    Lustre-change: http://review.whamcloud.com/2673
    Signed-off-by: Liu Xuezhao <xuezhao.liu@emc.com>
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Liu Xuezhao authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    f95aa51 View commit details
    Browse the repository at this point in the history
  24. staging/lustre/lfsck: split LFSCK code from mdd to lfsck

    The new LFSCK is used not only for namespace consistency verification,
    but also for some other purposes, such as file layout consistency, DNE
    consistency, and ect.
    
    So it is more reasonable to move the new LFSCK code from mdd module to
    another independent module -- lfsck, which can directly talk with lod,
    local storage lib and ldlm. MDD (and OFD in next pahse) will register
    as lfsck instance for related lfsck component(s), such as 'namespace'.
    The lfsck processing will be independent from MDD, except the control:
    start/stop/pause.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2914
    Lustre-change: http://review.whamcloud.com/6321
    Signed-off-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Fan Yong authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    fed8f52 View commit details
    Browse the repository at this point in the history
  25. staging/lustre/llite: force lvb_data update after layout change

    When a file is restored the layout lock is first
    associated with the released layout and after restore
    it has to be assocaited with the new layout. This patch
    forces lvb_data update in ll_layout_fetch() even if one
    is present (case for released->normal state change)
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3299
    Lustre-change: http://review.whamcloud.com/6291
    Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
    Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
    Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    lafoucriere authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    f76c83a View commit details
    Browse the repository at this point in the history
  26. staging/lustre/lfsck: LFSCK 1.5 technical debts (3)

    This patch resolves some LFSCK 1.5 technical debts, including:
    1) Check and remove repeated linkea entries.
    2) Merge some "goto" branches to make the code more readable.
    3) Some comments about object's nlink inconsistency processing.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2915
    Lustre-change: http://review.whamcloud.com/6344
    Signed-off-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Fan Yong authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    7bb75bd View commit details
    Browse the repository at this point in the history
  27. staging/lustre/osc: Check return code for lu_kmem_init

    lu_kmem_init can fail and returns has a return code.
    Check for this return code in lu_kmem_init.
    
    This issue was found during 2gb VM Racer testing
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3063
    Lustre-change: http://review.whamcloud.com/6514
    Signed-off-by: Keith Mannthey <keith.mannthey@intel.com>
    Reviewed-by: Mike Pershin <mike.pershin@intel.com>
    Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
    Reviewed-by: Bob Glossman <bob.glossman@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Kmannth authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    1aa4b42 View commit details
    Browse the repository at this point in the history
  28. staging/lustre/ptlrpc: Race between start and stop service threads

    When ptlrpc_start_thread fails to create a new thread, it will
    finalize and free a struct ptlrpc_thread created and used here.
    Considering this, it can be a problem when ptlrpc_svcpt_stop_thread
    is driven and handles the struct ptlrpc_thread right after or right
    before failure of cfs_create_thread. Because this situation let
    the both of ptlrpc_start_thread and ptlrpc_svcpt_stop_threads
    access the freed ptlrpc_thread and cause OS panic. Or, it may
    happen that ptlrpc_svcpt_stop_threads waits forever holding an
    already-freed waitq.
    
    This patch adds an error handling into ptlrpc_start_thread to fix
    this problem.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2889
    Lustre-change: http://review.whamcloud.com/5552
    Signed-off-by: Hiroya Nozaki <nozaki.hiroya@jp.fujitsu.com>
    Reviewed-by: Liang Zhen <liang.zhen@intel.com>
    Reviewed-by: Nikitas Angelinas <nikitas_angelinas@xyratex.com>
    Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Hiroya Nozaki authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    5006ed8 View commit details
    Browse the repository at this point in the history
  29. staging/lustre/crypto: add crc32c module loading to libcfs

    This patch add automatically module loading for crc32c
    when libcfs is starting.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2212
    Lustre-change: http://review.whamcloud.com/4372
    Signed-off-by: Alexander Boyko <alexander_boyko@xyratex.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Shuichi Ihara <sihara@ddn.com>
    Reviewed-by: James Simmons <uja.ornl@gmail.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Alexander.Boyko authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    a916b6a View commit details
    Browse the repository at this point in the history
  30. staging/lustre/mdt: duplicate link names in directory

    When creating a hard link to a file, the MDT/MDD/OSD code does
    not verify whether the target link name already exists in the
    directory.  The ZFS ZAP code checks for duplicate entries. The
    add_dirent_to_buf() function in ldiskfs only checks entries for
    duplicates while it is traversing the leaf block looking for free
    space.  Even if it scanned the whole leaf block, this would not
    work for non-htree directories since there is no guarantee that
    the name is being inserted into the same leaf block.
    
    To fix this, link should check target object doesn't exist as
    other creat operations.
    
    Add sanity.sh test_31o with multiple threads racing to link a new
    name into the directory, while ensuring that there is a free entry
    in the leaf block that is large enough to hold the duplicate name.
    This needs to be racy, because otherwise the client VFS will see
    the existing name and not send the RPC to the MDS, hiding the bug.
    
    Add DLDLMRES/PLDLMRES macros for printing the whole lock resource
    name (including the name hash) in LDLM_DEBUG() messages in a format
    similar to DFID/PFID so they can be found in debug logs more easily.
    
    The patch pickes client side change of the original patch, which only
    contains the DLM printk part.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2901
    Lustre-change: http://review.whamcloud.com/6591
    Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Lai Siyao <lai.siyao@intel.com>
    Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
    Reviewed-by: Mike Pershin <mike.pershin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Andreas Dilger authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    fee4f85 View commit details
    Browse the repository at this point in the history
  31. staging/lustre/llite: call simple_setattr() from ll_md_setattr()

    This partially reverts the change from "LU-2482 layout: introduce new
    layout for released files" by calling simple_setattr() from
    ll_md_setattr() without ATTR_SIZE set. Doing so avoids failed
    assertions in osc_page_delete(). Disable truncates on released files
    and modify sanity 229 accordingly.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3448
    Lustre-change: http://review.whamcloud.com/6643
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
    Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    jhammond-intel authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    5b2babf View commit details
    Browse the repository at this point in the history
  32. staging/lustre/ldlm: Fix flock deadlock detection race

    Deadlock isn't detected if 2 threads are trying to
    grant 2 locks which deadlock on each other.
    They call ldlm_flock_deadlock() simultaneously
    and deadlock ins't detected.
    
    The soulition is to add lock to blocking list before
    calling ldlm_flock_deadlock()
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-1602
    Lustre-change: http://review.whamcloud.com/3277
    Signed-off-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
    Reviewed-by: Vitaly Fertman <vitaly_fertman@xyratex.com>
    Reviewed-by: Bruce Korb <bruce_korb@xyratex.com>
    Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Andriy Skulysh authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    3ed8c70 View commit details
    Browse the repository at this point in the history
  33. staging/lustre/lnet: remove empty file lnet/lnet/api-errno.c

    The file is empty. We can just remove it.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2335
    Lustre-change: http://review.whamcloud.com/5880
    Reviewed-by: Liang Zhen <liang.zhen@intel.com>
    Reviewed-by: Li Wei <wei.g.li@intel.com>
    Reviewed-by: Isaac Huang <he.huang@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Peng Tao authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    4656de5 View commit details
    Browse the repository at this point in the history
  34. staging/lustre/fld: prepare FLD module for client server split

    Split FLD server from client, fld_{handler,index}.c are not compliled
    unless server support is enabled.  Do not include dt_object.h or
    lustre_mdt.h in lustre_fld.h and fix the minor breakages caused by
    this elsewhere.  Generally cleanup includes in lustre/fld.
    
    Signed-off-by: Liu Xuezhao <xuezhao.liu@emc.com>
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-1330
    Lustre-change: http://review.whamcloud.com/2675
    Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Liu Xuezhao authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    3035e87 View commit details
    Browse the repository at this point in the history
  35. staging/lustre/lmv: support DNE with HSM.

    Send HSM requests to the appropriate MDT. Split lists of fids of HSM
    actions into one list per MDT.
    Move kuc registration/unregistration from MDC to LMV as this is not
    MDT related.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3365
    Lustre-change: http://review.whamcloud.com/6714
    Signed-off-by: Thomas Leibovici <thomas.leibovici@cea.fr>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    tl-cea authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    743add7 View commit details
    Browse the repository at this point in the history
  36. staging/lustre/lmv: support DNE with HSM.

    Send HSM requests to the appropriate MDT. Split lists of fids of HSM
    actions into one list per MDT.
    Move kuc registration/unregistration from MDC to LMV as this is not
    MDT related.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3365
    Lustre-change: http://review.whamcloud.com/6714
    Signed-off-by: Thomas Leibovici <thomas.leibovici@cea.fr>
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    tl-cea authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    ae65c52 View commit details
    Browse the repository at this point in the history
  37. staging/lustre/obdclass: add obd_target.h

    Move some server-side data structures form obd.h to obd_target.h.  To
    remove some code dependencies use HAVE_SERVER_SUPPORT to protect some
    llog/fsfilt_* functions.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-1330
    Lustre-change: http://review.whamcloud.com/2678
    Signed-off-by: Liu Xuezhao <xuezhao.liu@emc.com>
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Peng Tao <bergwolf@gmail.com>
    Reviewed-by: Mike Pershin <mike.pershin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Liu Xuezhao authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    c84269d View commit details
    Browse the repository at this point in the history
  38. staging/lustre/procfs: return -ENOMEM from lprocfs_register()

    In lprocfs_register(), if proc_mkdir() fails then return
    ERR_PTR(-ENOMEM) rather than NULL and hold _lprocfs_mutex for the
    whole function.  In lprocfs_remove_nolock() return early if the entry
    is an error pointer. Improve error handling around lprocfs_register()
    in a few spots.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2650
    Lustre-change: http://review.whamcloud.com/5161
    Signed-off-by: John L. Hammond <john.hammond@intel.com>
    Reviewed-by: Emoly Liu <emoly.liu@intel.com>
    Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    jhammond-intel authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    08d85b6 View commit details
    Browse the repository at this point in the history
  39. staging/lustre/lmv: fix duplicate directory entries

    Previously, I accidentally introduced a new way for duplicate
    directory entries to be returned from readdir().  That patch fails
    to properly decrement the nlupgs counter when breaking out of the
    inner-for loop.  This accounting error causes an extra iteration
    of the inner-for loop when processing the next cfs page and a bad
    ldp_hash_end value is then saved in the lu_dirpage.  To fix this,
    always decrement the nlupgs counter on entry into the inner loop.
    
    Note: this bug only affects architectures with > 4k-sized pages, e.g.
    PowerPC.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3182
    Lustre-change: http://review.whamcloud.com/6405
    Signed-off-by: Ned Bass <bass6@llnl.gov>
    Reviewed-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Bobi Jam <bobijam@gmail.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    nedbass authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    4def370 View commit details
    Browse the repository at this point in the history
  40. staging/lustre/obdclass: be more careful processing server name

    Because whole options line gets passed to exclude processing, don't
    search from end of passed in argument to determine fsname at
    beginning.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2200
    Lustre-change: http://review.whamcloud.com/6197
    Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Nathaniel Clark authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    b581043 View commit details
    Browse the repository at this point in the history
  41. staging/lustre/llite: return valid fsid for statfs

    Lustre uses 64-bits inode number to identify object on client side.
    When re-export Lustre via NFS, NFS will detect whether support fsid
    via statfs(). For the non-support case, it will only recognizes and
    packs low 32-bits inode number in nfs handle. Such handle cannot be
    used to locate the object properly.
    
    To avoid patch linux kernel, Lustre client should generate fsid and
    return it via statfs() to up layer.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2904
    Lustre-change: http://review.whamcloud.com/6493
    Signed-off-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Lai Siyao <lai.siyao@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Fan Yong authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    ac104ba View commit details
    Browse the repository at this point in the history
  42. staging/lustre/llite: error of listxattr when buffer is small

    According to the standard, listxattr(2) should return -1
    and errno should be set to ERANGE if the size of the list
    buffer is too small to hold the result. However ll_listxattr()
    will return a value bigger than the size of buffer in some cases.
    
    Let's assume listxattr(2) returns SIZE when it is called with a
    large enough list buffer. If it's called again with a list buffer
    whose size is smaller than SIZE but bigger than (SIZE - 12), then
    listxattr(2) will return SIZE too. This patch fixes the problem.
    Original patch by Li Xi <pkuelelixi@gmail.com>
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3403
    Lustre-change: http://review.whamcloud.com/6463
    Signed-off-by: Keith Mannthey <keith.mannthey@intel.com>
    Reviewed-by: Li Xi <pkuelelixi@gmail.com>
    Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Kmannth authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    5e7394e View commit details
    Browse the repository at this point in the history
  43. staging/lustre/llite: Anonymous dentry incorrectly identified as root

    When exporting Lustre via NFS on SLES11SP2, this check incorrectly identifies
    anonymous dentries as root dentries.  This is due to a change in SLES11SP2
    which makes the d_name.name for anonymous dentries the same as that for root
    dentries.  (Details in LU-3484.)
    
    This changes the check to directly compare the value of the dentry pointer
    to the root dentry pointer found in the superblock, rather than using the name.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3484
    Lustre-change: http://review.whamcloud.com/6726
    Signed-off-by: Patrick Farrell <paf@cray.com>
    Reviewed-by: Bob Glossman <bob.glossman@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Peng Tao <bergwolf@gmail.com>
    Reviewed-by: James Simmons <uja.ornl@gmail.com>
    Reviewed-by: Alexey Shvetsov <alexxy@gentoo.org>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    paf-49 authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    a5390dc View commit details
    Browse the repository at this point in the history
  44. staging/lustre/build: fix 'data race condition' issues

    Fix 'data race condition' defects found by Coverity version
    6.5.0:
    Data race condition (MISSING_LOCK)
    Accessing variable without holding lock. Elsewhere,
    this variable is accessed with lock held.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2744
    Lustre-change: http://review.whamcloud.com/6569
    Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
    Reviewed-by: Bob Glossman <bob.glossman@intel.com>
    Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    sebastienbuisson authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    702426c View commit details
    Browse the repository at this point in the history
  45. staging/lustre/build: fix 'data race condition' issues

    Fix 'data race condition' defects found by Coverity version
    6.5.0:
    Data race condition (MISSING_LOCK)
    Accessing variable without holding lock. Elsewhere,
    this variable is accessed with lock held.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2744
    Lustre-change: http://review.whamcloud.com/6571
    Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
    Reviewed-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    sebastienbuisson authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    0f9f7a3 View commit details
    Browse the repository at this point in the history
  46. staging/lustre/style: removes obsolete EXPORT_SYMTAB macros v2

    EXPORT_SYMTAB is obsolete after 2.4 kernel, this patch removes
    EXPORT_SYMTAB from the source code again.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-1347
    Lustre-change: http://review.whamcloud.com/6739
    Signed-off-by: Keith Mannthey <keith.mannthey@intel.com>
    Reviewed-by: Peng Tao <bergwolf@gmail.com>
    Reviewed-by: Liu Xuezhao <xuezhao.liu@emc.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Kmannth authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    fe9003a View commit details
    Browse the repository at this point in the history
  47. staging/lustre/mdt: HSM on disk actions record

    HSM coordinator memorizes all actions in a llog
    This patch implements the methods needed to create
    update display these records.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3339
    Lustre-change: http://review.whamcloud.com/6529
    Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    lafoucriere authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    e3245b3 View commit details
    Browse the repository at this point in the history
  48. staging/lustre/scrub: purge inconsistenct objects after OI scrub

    When OI scrub repaired the found inconsistency, it needs to purge the
    old object out of cache; otherwise, others may still use those cached
    stale information.
    
    Original patch adds functions in obdclass that is only used by server.
    Drop that part. Only merge in error handling change.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3335
    Lustre-change: http://review.whamcloud.com/6697
    Signed-off-by: Fan Yong <fan.yong@intel.com>
    Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    Nasf-Fan authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    132d10b View commit details
    Browse the repository at this point in the history
  49. staging/lustre/mdc: Keep resend FLocks

    FLocks requests (particulary F_UNLCKs) can't be trashed
    upon comm problems with Server/MDS nor upon kill/exit,
    thus we need to keep retry/send.
    
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2665
    Lustre-change: http://review.whamcloud.com/6415
    Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
    Reviewed-by: Bobi Jam <bobijam@gmail.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: Peng Tao <tao.peng@emc.com>
    bfaccini authored and bergwolf committed Jul 19, 2013
    Configuration menu
    Copy the full SHA
    2158d19 View commit details
    Browse the repository at this point in the history