[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27666: [grep on GPFS filesystem] SEEK_HOLE problem

From: Moyard John
Subject: bug#27666: [grep on GPFS filesystem] SEEK_HOLE problem
Date: Wed, 12 Jul 2017 09:27:50 +0000


I use GPFS file system and I have sometimes an issue using grep command.
When issue occurs with the following message "Binary file <myfile> matches"
But "<myfile>" is an ASCII one, not a binary file.
The problem seems to deals with lseek(SEEK_HOLE) command and a file not 
completely flushed after close.
It could take several seconds to save the entire file on the disk.

So could grep command have another way to determine if input file is 
binary/ASCII instead using lseek(SEEK_HOLE) ?

Best regards

reply via email to

[Prev in Thread] Current Thread [Next in Thread]