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

-c 40 stripping lead to 7 stripes, instead of 8 (with 8-OSTs system)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • 3
    • 9223372036854775807

      A plain component whose stripe count is larger than the number of OSTs is clamped to the OST count and flagged LOD_USES_DEFAULT_STRIPE, so only 3/4 of the count has to be found before allocation succeeds.  lod_ost_alloc_rr() keeps its first pass off the OSTs used by another component of the file and retried only while short of that minimum, so  a trailing PFL component could stop one OST short: -c 40 on an 8-OST file system, with one OST taken by an earlier component, allocated 7  stripes instead of 8 and capped the file at 112 TB, while -c 8 reused the OST and got all 8.

            bobijam Zhenyu Xu
            bobijam Zhenyu Xu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: