[LU-12768] readcache_max_filesize in 2.12? Created: 16/Sep/19  Updated: 17/Feb/21  Resolved: 18/Sep/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.2
Fix Version/s: Lustre 2.14.0

Type: Bug Priority: Minor
Reporter: Stephane Thiell Assignee: Patrick Farrell (Inactive)
Resolution: Done Votes: 0
Labels: None
Environment:

2.12.2_116+3 patches, CentOS 7.6


Issue Links:
Related
is related to LUDOC-457 readcache max file size moved in 2.12... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Hello,

We're playing with readcache_max_filesize to adjust OSS caching per object size, but while it seems to work on Oak (2.10.8), we can't find the tunable with 2.12. Did we miss something obvious? Thanks!

[root@fir-io1-s1 ~]# lctl get_param obdfilter.*.readcache_max_filesize
error: get_param: param_path 'obdfilter/*/readcache_max_filesize': No such file or directory
[root@fir-io1-s1 ~]# ls /sys/fs/lustre/obdfilter/fir-OST0000/
blocksize               client_cache_count    degraded   filestotal  grant_precreate  kbytesfree   lfsck_speed_limit  seqs_allocated   sync_journal      tgt_fmd_count    uuid
checksum_t10pi_enforce  client_cache_seconds  filesfree  fstype      kbytesavail      kbytestotal  precreate_batch    soft_sync_limit  sync_lock_cancel  tgt_fmd_seconds
[root@fir-io1-s1 ~]# cat /sys/fs/lustre/version 
2.12.2_119_g2d4809a

https://build.whamcloud.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#idm140482875762544
 
Thanks!
Stephane
 



 Comments   
Comment by Patrick Farrell (Inactive) [ 16/Sep/19 ]

Stephane,

It's been moved:

lctl list_param *.*OST0000*.*readcache*
osd-ldiskfs.lustre-OST0000.readcache_max_filesize 

 

Comment by Stephane Thiell [ 16/Sep/19 ]

Thanks Patrick! It works!

 

[root@fir-io1-s1 ~]# lctl get_param osd-ldiskfs.fir-OST0000.readcache_max_filesize 
osd-ldiskfs.fir-OST0000.readcache_max_filesize=18446744073709551615
[root@fir-io1-s1 ~]# lctl set_param osd-ldiskfs.fir-OST0000.readcache_max_filesize=32M
osd-ldiskfs.fir-OST0000.readcache_max_filesize=32M
[root@fir-io1-s1 ~]# lctl get_param osd-ldiskfs.fir-OST0000.readcache_max_filesize 
osd-ldiskfs.fir-OST0000.readcache_max_filesize=33554432

So it is ldiskfs-specific? just curious, is this option available with ZFS backend?

Comment by Patrick Farrell (Inactive) [ 16/Sep/19 ]

It's available on ZFS as well, yeah.  (In general, ZFS caching isn't quite as controllable as the ldiskfs sort, so not all the options are there...  But this is.)

Comment by Stephane Thiell [ 16/Sep/19 ]

Thanks again Patrick, that sounds good! I would recommend to update the Lustre manual or at least add a note that it has moved to the osd backend in 2.12 to avoid any confusion.

Comment by Patrick Farrell (Inactive) [ 18/Sep/19 ]

Opened LUDOC-457 to track updating the manual.

Comment by Gerrit Updater [ 22/Jun/20 ]

Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/39124
Subject: LU-12768 o2iblnd: wait properly for fps>increasing.-
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d17be980c1f249e2c7c1787c79fbce1e64b44187

Should be LU-12678.

Comment by Gerrit Updater [ 04/Jul/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39124/
Subject: LU-12768 o2iblnd: wait properly for fps>increasing.-
Project: fs/lustre-release
Branch: master
-Current Patch Set: -
Commit: 530eca31556f7708781bcd1b1809ae286aee4c57

Should be LU-12678.

Generated at Sat Feb 10 02:55:28 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.