public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ramfs problem... (unlink of sparse file in "D" state)
@ 2001-01-06  4:46 Stefan Traby
  2001-01-06  4:52 ` Alexander Viro
  0 siblings, 1 reply; 60+ messages in thread
From: Stefan Traby @ 2001-01-06  4:46 UTC (permalink / raw)
  To: linux-kernel

Hi !

I create a sparse file on ramfs (by writing 5 bytes at offset 3GB):

0.000269 open("./lfs.file", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0600) = 3
0.000214 _llseek(3, 18446744072635809792, [3221225472], SEEK_SET) = 0           
0.000159 write(3, "hallo", 5)      = 5                                          
0.000176 close(3)                  = 0                                          
0.000166 _exit(0)                  = ?                                          

Works fine.

Then I tried to unlink the file by running rm lfs.file log.

The rm process (and an ls process that I started after that)
are now in "D" state...

root      2934  0.0  0.2  1292  452 pts/5    D    05:38   0:00 ls /ramfs
root      2952  0.0  1.5  4028 2384 pts/3    S    05:40   0:00 vi sdlkhfd


(Note that the ls hangs because of "rm". before running "rm" ls worked
 fine. The same test (including rm) works fine on reiserfs 3.6.24 on
 the same 2.4.0 release kernel. But reiserfs needed 34 seconds on close
 and the system was not very responsible (including mouse updates within X)
 for that time....)


-- 

  ciao - 
    Stefan

"     ( cd /lib ; ln -s libBrokenLocale-2.2.so libNiedersachsen.so )     "
    
Stefan Traby                Linux/ia32               fax:  +43-3133-6107-9
Mitterlasznitzstr. 13       Linux/alpha            phone:  +43-3133-6107-2
8302 Nestelbach             Linux/sparc       http://www.hello-penguin.com
Austria                                    mailto://st.traby@opengroup.org
Europe                                   mailto://stefan@hello-penguin.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 60+ messages in thread
* Re: ramfs problem... (unlink of sparse file in "D" state)
@ 2001-01-08 21:34 Andries.Brouwer
  0 siblings, 0 replies; 60+ messages in thread
From: Andries.Brouwer @ 2001-01-08 21:34 UTC (permalink / raw)
  To: stefan; +Cc: linux-kernel

> Calling pathconf with a symlink is not defined.

The Austin draft requires pathconf to follow symlinks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2001-01-08 21:35 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-06  4:46 ramfs problem... (unlink of sparse file in "D" state) Stefan Traby
2001-01-06  4:52 ` Alexander Viro
2001-01-06  5:08   ` Stefan Traby
2001-01-06  5:18     ` Alexander Viro
2001-01-06  5:24       ` modprobe ipv6 gives -1 usage count was [ramfs problem...] Stefan Traby
2001-01-06  9:55         ` Russell King
2001-01-06 11:05         ` Matti Aarnio
2001-01-06 15:35         ` Alan Cox
2001-01-06 15:35       ` ramfs problem... (unlink of sparse file in "D" state) Alan Cox
2001-01-06 15:53         ` Chris Wedgwood
2001-01-06 15:58           ` Alan Cox
2001-01-06 16:07             ` Chris Wedgwood
2001-01-07  7:05               ` Eric W. Biederman
2001-01-07  8:08                 ` Chris Wedgwood
2001-01-07 14:01                   ` Alan Cox
2001-01-07 13:57                 ` Alan Cox
2001-01-07 14:07                   ` Chris Wedgwood
2001-01-07 14:20                     ` Alan Cox
2001-01-07 14:56                   ` Eric W. Biederman
2001-01-08  7:56           ` Alexander Viro
2001-01-08  8:12             ` Chris Wedgwood
2001-01-08  8:41               ` [PATCH(es)] " Alexander Viro
2001-01-08 11:50               ` Alan Cox
2001-01-08  7:50         ` Alexander Viro
2001-01-08 11:46           ` Alan Cox
2001-01-08 11:50             ` Alexander Viro
2001-01-08 12:09               ` Alan Cox
2001-01-08 12:16                 ` Alexander Viro
2001-01-08 12:26                   ` Alan Cox
2001-01-08 13:17                     ` Stefan Traby
2001-01-08 13:35                       ` Alexander Viro
2001-01-08 14:00                         ` Stefan Traby
2001-01-08 14:19                           ` Alexander Viro
2001-01-08 14:40                         ` Alan Cox
2001-01-08 14:52                           ` Alexander Viro
2001-01-08 15:09                             ` Alan Cox
2001-01-08 15:32                               ` Alexander Viro
2001-01-08 15:55                           ` Stefan Traby
2001-01-08 16:01                             ` Alan Cox
2001-01-08 16:22                               ` Stefan Traby
2001-01-08 17:10                                 ` Alan Cox
2001-01-08 18:05                                 ` Alexander Viro
2001-01-08 18:18                                   ` Stefan Traby
2001-01-08 18:22                                     ` Alexander Viro
2001-01-08 18:24                                       ` Stefan Traby
2001-01-08 18:33                                         ` Alexander Viro
2001-01-08 18:51                                           ` Stefan Traby
2001-01-08 18:54                                           ` Marc Lehmann
2001-01-08 19:07                                             ` Alexander Viro
2001-01-08 14:02                     ` Alexander Viro
2001-01-08 15:37                       ` Chris Mason
2001-01-08 15:47                         ` Alexander Viro
2001-01-08 16:11                           ` Chris Mason
2001-01-08 17:35                             ` Alexander Viro
2001-01-08 17:50                               ` Alan Cox
2001-01-08 19:07                           ` Andreas Dilger
2001-01-08 20:12                             ` Alexander Viro
2001-01-08 20:38                               ` Andreas Dilger
2001-01-08 13:37             ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2001-01-08 21:34 Andries.Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox