Bug 814056

Summary: sync() can't work and will hang up
Product: [Fedora] Fedora Reporter: Zhouping Liu <zliu>
Component: coreutilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17CC: caiqian, kdudka, maxamillion, ovasik, p, qcai, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-19 03:38:11 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Zhouping Liu 2012-04-19 02:59:28 EDT
Description of problem:
when I did ltp test, there were some cases  blocked, at least I found sync() make the mistakes, and also it couldn't use 'Ctrl-C' or 'kill -9' to kill the process.

Version-Release number of selected component (if applicable):
[zliu@ZhoupingLiu mtest06]$ uname -ri
3.3.2-1.fc17.x86_64 x86_64
[zliu@ZhoupingLiu mtest06]$ rpm -q coreutils

How reproducible:

Steps to Reproduce:
[zliu@ZhoupingLiu ~]$ cat test.c 
#include <unistd.h>
#include <stdio.h>

int main()
	printf("test sync()\n");

	return 0;
[zliu@ZhoupingLiu zliu]# ./test 
test sync()


as the above, can't endup the process

Or you can directly run sync command to reproduce the issue:
[root@ZhoupingLiu zliu]# sync


Actual results:
the sync hang up

Expected results:
sync work fine

Additional info:
couldn't find the issue in RHEL7 Alpha and RHEL6.
Comment 1 Kamil Dudka 2012-04-19 03:38:11 EDT

*** This bug has been marked as a duplicate of bug 812588 ***