GNU bug report logs -
#9812
Problem with "tail -f" on GPFS filesystem // coreutils package
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9812 in the body.
You can then email your comments to 9812 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#9812
; Package
coreutils
.
(Thu, 20 Oct 2011 16:21:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Martial-externe BORNET <martial-externe.bornet <at> edf.fr>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Thu, 20 Oct 2011 16:21:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Good afternoon,
Could you please add the following line to the src/fs.h file :
# define S_MAGIC_GPFS 0x47504653
and add the following line to the switch() of the fremote() function in
the src/tail.c file, in the coreutils package :
case S_MAGIC_GPFS:
or do you prefer me to send you a patch for these files ? (I'm not used to
that yet, but I'll do it if you need it).
These addings fix a "tail -f" problem with the GPFS filesystem.
I'm waiting for your reply.
Thank you for your help regarding this fix.
Kind regards,
Martial Bornet
[Message part 2 (text/html, inline)]
[Message part 3 (text/plain, inline)]
Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.
Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.
Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________
This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.
If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.
E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
Reply sent
to
Pádraig Brady <P <at> draigBrady.com>
:
You have taken responsibility.
(Thu, 20 Oct 2011 18:38:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Martial-externe BORNET <martial-externe.bornet <at> edf.fr>
:
bug acknowledged by developer.
(Thu, 20 Oct 2011 18:38:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 9812-done <at> debbugs.gnu.org (full text, mbox):
On 10/20/2011 03:52 PM, Martial-externe BORNET wrote:
> Good afternoon,
>
> Could you please add the following line to the src/fs.h file :
>
> # define S_MAGIC_GPFS 0x47504653
That was actually done in the recently released 8.13
>
> and add the following line to the switch() of the fremote() function in
> the src/tail.c file, in the coreutils package :
>
> case S_MAGIC_GPFS:
>
> or do you prefer me to send you a patch for these files ? (I'm not used to
> that yet, but I'll do it if you need it).
>
> These addings fix a "tail -f" problem with the GPFS filesystem.
>
> I'm waiting for your reply.
> Thank you for your help regarding this fix.
Since you took the time to identify the fix
I'm applying this in your name.
Please advise if you'd like a different email address.
Note one can work around the issue without a patch
for the moment by using the currently undocumented ---disable-inotify option.
cheers,
Pádraig.
commit c0ca70013d7bbe60143910828e32146f3e94cc02
Author: Martial Bornet <martial-externe.bornet <at> edf.fr>
Date: Thu Oct 20 19:22:31 2011 +0100
tail: fix --follow on GPFS remote file systems
* src/tail.c (fremote): Recognize GPFS as a remote
file system outside the scope of inotify.
diff --git a/src/tail.c b/src/tail.c
index f315776..1641a12 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -904,6 +904,7 @@ fremote (int fd, const char *name)
case S_MAGIC_FUSEBLK:
case S_MAGIC_FUSECTL:
case S_MAGIC_GFS:
+ case S_MAGIC_GPFS:
case S_MAGIC_KAFS:
case S_MAGIC_LUSTRE:
case S_MAGIC_NCP:
Message #11 received at 9812-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thank you for your quick answer.
I had discovered the ---disable-inotify option, but some users may have
scripts they don't want to modify, so we'd prefer not to use it.
Thanks a lot anyway.
Best regards.
Martial Bornet
P <at> draigBrady.com
20/10/2011 20:30
A
martial-externe.bornet <at> edf.fr
cc
9812-done <at> debbugs.gnu.org, meskes <at> debian.org, laurent.le-saout <at> edf.fr,
antonio-externe.russo <at> edf.fr, marc_millot <at> fr.ibm.com,
loic-externe.laureote <at> edf.fr, dominique.perruchon <at> edf.fr,
remi.palancher <at> edf.fr, christian.sobrado <at> edf.fr, stephan.gorget <at> edf.fr,
bruno-externe.agneray <at> edf.fr
Objet
Re: bug#9812: Problem with "tail -f" on GPFS filesystem // coreutils
package
On 10/20/2011 03:52 PM, Martial-externe BORNET wrote:
> Good afternoon,
>
> Could you please add the following line to the src/fs.h file :
>
> # define S_MAGIC_GPFS 0x47504653
That was actually done in the recently released 8.13
>
> and add the following line to the switch() of the fremote() function in
> the src/tail.c file, in the coreutils package :
>
> case S_MAGIC_GPFS:
>
> or do you prefer me to send you a patch for these files ? (I'm not used
to
> that yet, but I'll do it if you need it).
>
> These addings fix a "tail -f" problem with the GPFS filesystem.
>
> I'm waiting for your reply.
> Thank you for your help regarding this fix.
Since you took the time to identify the fix
I'm applying this in your name.
Please advise if you'd like a different email address.
Note one can work around the issue without a patch
for the moment by using the currently undocumented ---disable-inotify
option.
cheers,
Pádraig.
commit c0ca70013d7bbe60143910828e32146f3e94cc02
Author: Martial Bornet <martial-externe.bornet <at> edf.fr>
Date: Thu Oct 20 19:22:31 2011 +0100
tail: fix --follow on GPFS remote file systems
* src/tail.c (fremote): Recognize GPFS as a remote
file system outside the scope of inotify.
diff --git a/src/tail.c b/src/tail.c
index f315776..1641a12 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -904,6 +904,7 @@ fremote (int fd, const char *name)
case S_MAGIC_FUSEBLK:
case S_MAGIC_FUSECTL:
case S_MAGIC_GFS:
+ case S_MAGIC_GPFS:
case S_MAGIC_KAFS:
case S_MAGIC_LUSTRE:
case S_MAGIC_NCP:
Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.
Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.
Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________
This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.
If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.
E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 18 Nov 2011 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 302 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.