RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 994491 - "lvconvert -r" does not work
Summary: "lvconvert -r" does not work
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2
Version: 7.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: LVM and device-mapper development team
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
: 1006025 (view as bug list)
Depends On:
Blocks: 1006025
TreeView+ depends on / blocked
 
Reported: 2013-08-07 11:40 UTC by Xiaowei Li
Modified: 2023-03-08 07:26 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1006025 (view as bug list)
Environment:
Last Closed: 2016-01-18 18:06:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xiaowei Li 2013-08-07 11:40:57 UTC
Description of problem:
lvconvert does not change the read_ahead to zero after executing "lvconvert --thinpool vg/pool -r none"

"lvchange -r none" works well

Version-Release number of selected component (if applicable):
lvm2-2.02.99-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.                                

[root@dhcp12-156 tc]# lvs vg -oname,lv_read_ahead
  LV   Rahead
  pool     auto 

[root@dhcp12-156 tc]# lvconvert --thinpool vg/pool -r none
  Logical volume "pool_tmeta" created
  Logical volume "lvol0" created
  Converted vg/pool to thin pool.
  
[root@dhcp12-156 tc]# lvs vg -oname,lv_read_ahead
  LV   Rahead
  pool     auto 

[root@dhcp12-156 tc]# lvchange -r none vg/pool
  Logical volume "pool" changed.

[root@dhcp12-156 tc]# lvs vg -oname,lv_read_ahead
  LV   Rahead
  pool     0 

[root@dhcp12-156 tc]# ls -l /dev/mapper/vg-pool
lrwxrwxrwx. 1 root root 7 Aug  7 07:17 /dev/mapper/vg-pool -> ../dm-5
  
[root@dhcp12-156 tc]# cat /sys/block/dm-5/queue/read_ahead_kb 
0


Actual results:


Expected results:


Additional info:

Comment 4 Corey Marthaler 2013-09-09 19:49:52 UTC
Yes, this exists on rhel6.5 as well.

Comment 5 Ludek Smid 2014-06-26 10:47:34 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.

Comment 6 Ludek Smid 2014-06-26 11:16:11 UTC
The comment above is incorrect. The correct version is bellow.
I'm sorry for any inconvenience.
---------------------------------------------------------------

This request was NOT resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you need
to escalate this bug.

Comment 7 Zdenek Kabelac 2014-11-26 10:02:54 UTC
There is currently no meaning behind  read-ahead setting for thin-pool.
So before this BZ is fixed we need to check how to deal with this setting in kernel driver first.

Comment 10 Jonathan Earl Brassow 2015-07-22 13:24:14 UTC
This bug will not be resolved for 7.2.  The read-ahead setting for thin-pools makes no sense really, and this bug may simply be CLOSED NOTABUG.

However, there may be some utility in setting read-ahead for a pool, in that thinLVs might inherit the setting from the pool.  (Although, that is better suited to an LVM config setting probably.)  I'll leave this open for a while for some discussion.

Comment 12 Jonathan Earl Brassow 2016-01-18 18:03:43 UTC
*** Bug 1006025 has been marked as a duplicate of this bug. ***

Comment 13 Jonathan Earl Brassow 2016-01-18 18:06:27 UTC
There is not determination as to what read-ahead should mean for thin-pools and no discussion to resolve it.  I'm closing this bug WONTFIX.  It can be reopened if it is determined that this is a problem.  (See comment 7 and comment 10 for reference.)


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