Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-2853

osc send list corruption

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • Lustre 2.0.0, Lustre 2.1.0, Lustre 2.2.0, Lustre 2.3.0, Lustre 2.4.0
    • None
    • 3
    • 6904

    Description

      after landing
      Author: jxiong <jxiong> 2009-08-28 06:05:01
      Committer: jxiong <jxiong> 2009-08-28 06:05:01
      Parent: f907343dc34ac32bde1a56030d9994fa024a2874 (b=19955)
      Child: 2b87d9a6d9eefab2209030b167df7998c3d4c1d0 (b=20131)
      Precedes: v1_10_0_32, v1_9_251, v1_9_260, v1_9_270, v1_9_280, v1_9_290

      b=18881
      r=wangdi,eric.mei

      we have an unprotected call for loi_list_maint

      @@ -2523,7 +2532,7 @@ osc_send_oap_rpc(const struct lu_env *env, struct client_obd *cli,
      req = osc_build_req(env, cli, &rpc_list, page_count, cmd);
      if (IS_ERR(req))

      { LASSERT(list_empty(&rpc_list)); - /* loi_list_maint(cli, loi); */ + loi_list_maint(cli, loi); RETURN(PTR_ERR(req)); }

      which modify a loi list without holding a cl_loi_list_lock - so open for races.
      that race may caused LU-2797.

      Attachments

        Issue Links

          Activity

            People

              bfaccini Bruno Faccini (Inactive)
              shadow Alexey Lyashkov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: