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

osd-ldiskfs: set od_readcache_max_filesize with maximal value when setting with negative value via lproc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      # echo -n -1 > /proc/fs/lustre/osd-ldiskfs/lustre0-MDT0000/readcache_max_filesize
      -bash: echo: write error: Numerical result out of range
      
      To disable the maximum cached file size on an OST, run:
       root@oss1# lctl set_param obdfilter.{OST_name}.readcache_max_filesize=-1
      To check the current maximum cached file size on all OSTs of an OSS, run:
       root@oss1# lctl get_param obdfilter.*.readcache_max_filesize
      

      It would better to set readcache_max_filesize with maximal value when setting with negative value via lproc.

      Attachments

        Activity

          People

            qian_wc Qian Yingjin
            qian_wc Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: