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

struct bit field type should be unsigned type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.2.0
    • None
    • None
    • 3
    • 4848

      struct bit field type should be unsigned type, or else when they are read out through proc interface, they are showed as a big number equivalent to -1.
      e.g.

      1. cat /proc/fs/lustre/obdfilter/lustre-OST0000/read_cache_enable
        4294967295

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

              Created:
              Updated:
              Resolved: