Bug 1322163 - LVM cache: Man page still refers to MQ as the default
Summary: LVM cache: Man page still refers to MQ as the default
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: lvm2
Version: 6.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Zdenek Kabelac
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On: 1322162
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-29 23:21 UTC by Jonathan Earl Brassow
Modified: 2017-10-13 21:37 UTC (History)
8 users (show)

Fixed In Version: lvm2-2.02.143-12.el6.x86_64
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1322162
Environment:
Last Closed: 2017-10-13 21:37:40 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jonathan Earl Brassow 2016-03-29 23:21:02 UTC
+++ This bug was initially created as a clone of Bug #1322162 +++

SMQ is the default in 7.2 (and 6.8), I believe.

Comment 2 Jonathan Earl Brassow 2017-10-13 21:37:40 UTC
this is already fixed... although, the man page is overly verbose about the older MQ policy.  I think we'd rather people simply used the default SMQ.  This output is from 6.9.

   Cache policy

       The  cache subsystem has additional per-LV parameters: the cache policy
       to use, and possibly tunable parameters for the  cache  policy.   Three
       policies  are currently available: "smq" is the default policy, "mq" is
       an older implementation, and "cleaner" is used to force  the  cache  to
       write back (flush) all cached writes to the origin LV.

       The  "mq"  policy  has a number of tunable parameters. The defaults are
       chosen to be suitable for the majority of systems, but in special  cir-
       cumstances, changing the settings can improve performance.

       With  the  --cachepolicy  and --cachesettings options, the cache policy
       and settings can be set when creating a cache  LV,  or  changed  on  an
       existing  cache  LV  (both  options can be used together).  The current
       cache policy and settings of a cache  LV  can  be  displayed  with  the
       cache_policy and cache_settings reporting options:

       lvs -o+cache_policy,cache_settings VG/CacheLV

       Example
       Change the cache policy and settings of an existing cache LV.
       # lvchange --cachepolicy mq --cachesettings \
            'migration_threshold=2048 random_threshold=4' vg/lv1

       lvm.conf(5) allocation/cache_policy
       defines the default cache policy.


Note You need to log in before you can comment on or make changes to this bug.