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

osd-ldiskfs osd_stats_init() incorrectly refers to zfs

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • Lustre 2.17.0
    • None
    • 3
    • 9223372036854775807

    Description

      lustre/osd-ldiskfs/osd_lproc.c::osd_stats_init() has this seemingly copy paste bit:

      static int osd_stats_init(struct osd_device *osd)
      {
              char param[MAX_OBD_NAME * 4];
              int result = -ENOMEM;        ENTRY;
              scnprintf(param, sizeof(param), "osd-zfs.%s.stats", osd_name(osd));
              osd->od_stats = ldebugfs_stats_alloc(LPROC_OSD_LAST, param,
                                                   osd->od_dt_dev.dd_debugfs_entry,
                                                   0);
      

      Not sure I see it actually printed anywhere though.

      Recently introduced in https://review.whamcloud.com/c/fs/lustre-release/+/57305

      Attachments

        Activity

          People

            green Oleg Drokin
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: