bug-coreutils
[Top][All Lists]
Advanced

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

bug#14251: coreutils-8.15: tail.c : Need support for StorNext file syste


From: Pádraig Brady
Subject: bug#14251: coreutils-8.15: tail.c : Need support for StorNext file system as distributed file system
Date: Wed, 24 Apr 2013 23:08:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 04/24/2013 07:47 AM, Guenter Ressel-Herbert wrote:
> Folks,
> 
> my name is Guenter Ressel-Herbert and I'm working in Quantum's StorNext 
> Sustaining Engineering team.
> I have a customer that needs support for tail -f on our StorNext SAN clients. 
> StorNext (ex cvfs) is a distributed
> file system that is bypassing the VFS layer on the client, hence no trigger 
> for any inotify registration. Seems to
> be a common issue for most distributed file systems. Checking out 
> coreutils-8.15/src/tail.c, I found that
> tail -f reverts back to the traditional polling method for all FS's listed in 
>  src/fs-is-local.h  returning 0. Would
> you please be so kind and add StorNext as distributed file system to that 
> header file? You also might need
> to make up a new #define for the StorNext magic listed below.
> 
> StorNext output for fstatfs:
> 
> fstatfs(3, {f_type=0xbeefdead, f_bsize=4096, f_blocks=244187136, 
> f_bfree=242457823, f_bavail=242457823, f_files=1262592, f_ffree=1262483, 
> f_fsid={1939504002, 317934}, f_namelen=255, f_frsize=4096}) = 0
> 
> As you see, the magic is 0xbeefdead.

While I'm slightly hesitant above adding support for
this closed source file system, there is precedence,
and I see the clients are GPL.

So I propose to support this with the attached.

thanks,
Pádraig.

Attachment: snfs.patch
Description: Text Data


reply via email to

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