Bug 1785520 - performance/io-cache: After “performance/io-cache: update pages with write data” patch commit and disable md-cache sometimes that gcc compilation file can not execute right now.
Summary: performance/io-cache: After “performance/io-cache: update pages with write da...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: GlusterFS
Classification: Community
Component: io-cache
Version: 6
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Mohammed Rafi KC
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-20 06:12 UTC by yinkui
Modified: 2023-09-14 05:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-12 12:39:23 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 1659869 0 None None None 2019-12-20 06:12:15 UTC
Red Hat Bugzilla 1659869 0 unspecified CLOSED improvements to io-cache 2021-02-22 00:41:40 UTC

Description yinkui 2019-12-20 06:12:15 UTC
Description of problem:
The patch SHA-1: d50f22e6ae410fdcde573b6015b97dc1573bbb7e discripted that "performance/io-cache: update pages with write data” . How after that patch commit and disable md-cache sometimes that gcc  compilation file can not execute right now.

Version-Release number of selected component (if applicable):
gluster version 6, io-cache

Steps to Reproduce:
1.gluster v create testvol_distributed host1:/bricks/brick1/testvol_distributed_brick0 host2:/bricks/brick1/testvol_distributed_brick0 host3:/bricks/brick1/testvol_distributed_brick0
2.gluster v set testvol_distributed performance.md-cache-pass-through true
3.gluster v start testvol_distributed 
4.mount -t glusterfs 127.0.0.1:/testvol_distributed /mnt/testvol_dispersed
5.gcc stat.c -o stat1 -lm ; ./stat1 smcomp.time
-bash: ./stat1: cannot execute binary file
6.we should execute stat1 right now. we maybe not reproduce this problem so 

Actual results:
can execute binary file

Expected results:
can execute binary file

Additional info:
The reason is not do ioc_inode_flush or update io cache page failed after ioc_writev_cbk. The patch commit ioc_inode_flush used by steps mdc_inode_iatt_set_validate->inode_invalidate->ioc_invalidate->ioc_inode_flush .

Comment 1 yinkui 2019-12-20 06:16:05 UTC
Actual results:
can not execute binary file

Comment 2 Sahina Bose 2019-12-23 10:57:42 UTC
Rafi, can you take a look?

Comment 3 Worker Ant 2020-03-12 12:39:23 UTC
This bug is moved to https://github.com/gluster/glusterfs/issues/920, and will be tracked there from now on. Visit GitHub issues URL for further details

Comment 4 Red Hat Bugzilla 2023-09-14 05:49:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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