All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven French <smfrench@austin.rr.com>
To: linux-fsdevel@vger.kernel.org
Subject: missing code in fcntl_dirnotify
Date: Fri, 15 Aug 2003 21:35:48 -0500	[thread overview]
Message-ID: <3F3D9884.9000CC8E@austin.rr.com> (raw)

I noticed that fcntl_dirnotify in fs/dnotify.c is missing logic to call
an optional fs specific inode operation for file/directory notify.  
Since directory and file notification to make any sense for many
filesystems (especially network ones) would require that this call
(fcntl F_NOTIFY) to pass through to the filesystem who owns the inode
(to let the particular filesystem know it has to call dnotify_parent on
remote updates to the file/directory) it seems like a bug. Without
notification to the underlying network filesystem, it can not know to
read the updated inode->i_dnotify_mask  Is there any objection why
dnotify_parent should not be added to ksysm.c and to adding an optional
inode_operation for change_notify so filesystems that can support change
notify (cifs, nfs, presumably afs etc.) could do change notify to the
proper kernel routine(dnotify_parent)?

             reply	other threads:[~2003-08-16  2:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-16  2:35 Steven French [this message]
2003-08-16  9:48 ` missing code in fcntl_dirnotify Stephen Rothwell
2003-08-16 13:55   ` Jamie Lokier
  -- strict thread matches above, loose matches on Subject: below --
2003-08-16 14:19 Steve French
2003-08-16 14:43 ` Jamie Lokier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F3D9884.9000CC8E@austin.rr.com \
    --to=smfrench@austin.rr.com \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.