[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ext4
Subject: [Bug 105121] New: lseek() hangs for a long time on allocated files
From: bugzilla-daemon () bugzilla ! kernel ! org
Date: 2015-09-28 12:27:05
Message-ID: bug-105121-13602 () https ! bugzilla ! kernel ! org/
[Download RAW message or body]
https://bugzilla.kernel.org/show_bug.cgi?id=105121
Bug ID: 105121
Summary: lseek() hangs for a long time on allocated files
Product: File System
Version: 2.5
Kernel Version: 4.2.1
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: ext4
Assignee: fs_ext4@kernel-bugs.osdl.org
Reporter: iam@valdikss.org.ru
Regression: No
Created attachment 188751
--> https://bugzilla.kernel.org/attachment.cgi?id=188751&action=edit
lseek test program
lseek() call hangs for a long time on fallocate allocated files on ext4.
Steps to reproduce:
1. gcc -o prog lseek-fallocate.c
2. fallocate -l 1G test
3. cat test > /dev/null
4. ./prog
Actual result:
prog hangs for 2 minutes on my system while doing lseek().
Expected result:
lseek() instantly return ENXIO.
Usually lseek works much faster if file wasn't cat'ed before lseek.
Works properly on btrfs.
--
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic