All of lore.kernel.org
 help / color / mirror / Atom feed
* FIFO files
@ 2003-06-17 16:21 Cyrille Chepelov
  2003-06-17 16:24 ` Carl-Daniel Hailfinger
  2003-06-17 22:42 ` Pierre Abbat
  0 siblings, 2 replies; 21+ messages in thread
From: Cyrille Chepelov @ 2003-06-17 16:21 UTC (permalink / raw)
  To: reiserfs-list

Hi all,

I recently encountered a need for such a contraption as file-backed FIFOs.
These are files where one process can append records at one end, and one
other process can read records from the beginning of the file, chopping off
the head of the file once it's not needed anymore. As I had to implement
something right now on existing systems, I worked around the general absence
for such a facility, but still, I'm wondering how difficult it would to
write a reiserfs4 plug-in which would allow one to do the equivalent of a
truncate() but truncating what's between the position 0 and the current
cursor (effectively shifting all subsequent file positions), rather than
truncating what's between the cursor and the end of file.
(network considerations are explicitly out of the scope of this musing)

	-- Cyrille

-- 

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2003-06-18 15:51 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-17 16:21 FIFO files Cyrille Chepelov
2003-06-17 16:24 ` Carl-Daniel Hailfinger
2003-06-17 16:32   ` Hans Reiser
2003-06-17 17:00     ` Carl-Daniel Hailfinger
2003-06-18  6:17       ` Oleg Drokin
2003-06-18 10:20         ` Ragnar Kjørstad
2003-06-18 11:40           ` Carl-Daniel Hailfinger
2003-06-18 13:21             ` Hans Reiser
2003-06-18 13:53             ` David Woodhouse
2003-06-18 14:28               ` Matthew Wilcox
2003-06-18 15:23                 ` Russell Coker
2003-06-18 15:40                   ` David Woodhouse
2003-06-18 15:51                   ` Bryan Henderson
2003-06-18 15:45                 ` Bryan Henderson
2003-06-18 15:34             ` Bryan Henderson
2003-06-17 17:07   ` Cyrille Chepelov
2003-06-17 17:39     ` Chris Dukes
2003-06-17 17:54       ` Cyrille Chepelov
2003-06-17 19:30     ` Hans Reiser
2003-06-17 19:43       ` Cyrille Chepelov
2003-06-17 22:42 ` Pierre Abbat

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.