Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 922803

Summary: pnfs client does excessive IOs to MDS causing perf degradation and possible data corruption
Product: Red Hat Enterprise Linux 6 Reporter: Benny Halevy <bhalevy>
Component: kernelAssignee: nfs-maint
Status: CLOSED INSUFFICIENT_DATA QA Contact: Filesystem QE <fs-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.4CC: bhalevy, dros, eguan, jean, oren, riehecky, rwheeler, steved, tycoontutu
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: pNFS
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-31 14:57:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
pnfs: do not reset to mds if wb_offset != wb_pgbase none

Description Benny Halevy 2013-03-18 14:58:18 UTC
Description of problem:
We're seeing roughly 20% of the I/Os going to the MDS
when installing a VM over KVM in "none" caching mode (O_DIRECT).
Instrumenting the client revealed that this is caused by buffer
alignment vs. file offset alignment.
Besides being a performance problem, when the MDS caches data
this is also manifested as data corruption when data is written
first via the MDS, then via the DS, eventually the stale data is
read back from the MDS.

Note that this check exists also for the file layout specific
pg_init_* functions.

Version-Release number of selected component (if applicable):
2.6.32-358

How reproducible:
Consistently

Steps to Reproduce:
1. Create a VM with virtio and "none" cachingmode (via RHEV-M or virt-manager)
2. Install VM with RHEL 6.4 from .iso
3.
  
Actual results:
VM either gets stuck with 100?% cpu util when installing a large package,
or reports the disk is not bootable post installation reboot.

Expected results:
VM installation completes successfully.

Additional info:

Comment 1 Benny Halevy 2013-03-18 15:01:40 UTC
Created attachment 712026 [details]
pnfs: do not reset to mds if wb_offset != wb_pgbase

Comment 3 Benny Halevy 2013-03-18 16:04:32 UTC
Upstream submission thread:
http://thread.gmane.org/gmane.linux.nfs/55422

Comment 4 Steve Dickson 2013-05-17 11:49:17 UTC
That patch not been accepted upstream.... at this point...

Comment 5 RHEL Program Management 2013-05-17 12:01:12 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 6 Jeff Layton 2013-09-13 15:21:36 UTC
Benny, did this ever make it upstream?

Comment 7 Benny Halevy 2013-09-15 07:16:08 UTC
Unfortunately not yet.  I need to ping Trond about that as we looked into the subject and realized we can implement a layout type specific policy but the ball was dropped.

Comment 8 RHEL Program Management 2013-10-14 04:05:58 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.