Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-1431 Support for larger than 1MB sequential I/O RPCs
  3. LU-2748

OSD uses kmalloc with high order to allocate a keys

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.4.0
    • Lustre 2.4.0
    • None
    • maloo
    • 6674

    Description

      05:34:20:ll_ost_io00_029: page allocation failure. order:8, mode:0x50
      05:34:20:Pid: 13919, comm: ll_ost_io00_029 Not tainted 2.6.32-279.19.1.el6_lustre.gc7121e9.x86_64 #1
      05:34:20:Call Trace:
      05:34:20: [<ffffffff811231ff>] ? __alloc_pages_nodemask+0x77f/0x940
      05:34:20: [<ffffffff8115d1a2>] ? kmem_getpages+0x62/0x170
      05:34:20: [<ffffffff8115ddba>] ? fallback_alloc+0x1ba/0x270
      05:34:20: [<ffffffff8115d80f>] ? cache_grow+0x2cf/0x320
      05:34:20: [<ffffffff8115db39>] ? ____cache_alloc_node+0x99/0x160
      05:34:20: [<ffffffffa04d8b60>] ? cfs_alloc+0x30/0x60 [libcfs]
      05:34:20: [<ffffffff8115e909>] ? __kmalloc+0x189/0x220
      05:34:20: [<ffffffffa04d8b60>] ? cfs_alloc+0x30/0x60 [libcfs]
      05:34:20: [<ffffffffa0d1c8ae>] ? osd_key_init+0x1e/0x670 [osd_ldiskfs]
      05:34:20: [<ffffffffa06643ef>] ? keys_fill+0x6f/0x190 [obdclass]
      05:34:20: [<ffffffffa066843b>] ? lu_context_init+0xab/0x260 [obdclass]
      05:34:20: [<ffffffffa07f78b3>] ? ptlrpc_main+0x203/0x1870 [ptlrpc]
      05:34:20: [<ffffffff810097cc>] ? __switch_to+0x1ac/0x320
      05:34:20: [<ffffffffa07f76b0>] ? ptlrpc_main+0x0/0x1870 [ptlrpc]
      05:34:20: [<ffffffff8100c0ca>] ? child_rip+0xa/0x20
      05:34:20: [<ffffffffa07f76b0>] ? ptlrpc_main+0x0/0x1870 [ptlrpc]
      05:34:20: [<ffffffffa07f76b0>] ? ptlrpc_main+0x0/0x1870
      

      instead of kmalloc, kmem_cache_alloc should be used to allocate and effectively handle key's.

      Attachments

        Issue Links

          Activity

            People

              bzzz Alex Zhuravlev
              shadow Alexey Lyashkov
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: