All of lore.kernel.org
 help / color / mirror / Atom feed
* reiserfs+acl makes processes hang?
@ 2005-07-17 19:20 Tarmo Tänav
  2005-07-18 16:55 ` Jeff Mahoney
  0 siblings, 1 reply; 7+ messages in thread
From: Tarmo Tänav @ 2005-07-17 19:20 UTC (permalink / raw)
  To: reiserfs-list

Hi,

(I've already sent this to lkml and the bug has been confirmed
a couple of times, but I though I should also send it to
reiserfs-list so here goes:)


I think I've found a bug in reiserfs acls. If triggered
it means that any program trying to access the partition,
where the bug occured, will just hang in D state, with
no way to kill the program.

Here's how to reproduce:
1. mount a reiserfs volume (loopmount will do) with "-o acl".
2. create a directory "dir"
3. set some default acl: setfacl -d -m u:username:rwX dir
4. cd dir
5. dd if=/dev/zero of=somefile1 bs=4k count=100000
(the idea is to run out of space)
6. now df should show 0 free space, if not then repeat 5.
7. echo "1" > somefile2 # this should hang infinitely

Now no program will be able to access the partition.

I haven't tried to reproduce it, but the same problem also happened
when a user hit his hard quota limit on my server. Then no program
could access his homedir.


^ permalink raw reply	[flat|nested] 7+ messages in thread
* reiserfs+acl makes processes hang?
@ 2005-07-15 23:19 Tarmo Tänav
  2005-07-15 23:25 ` Kasper Sandberg
  2005-07-16  8:24 ` Jan Engelhardt
  0 siblings, 2 replies; 7+ messages in thread
From: Tarmo Tänav @ 2005-07-15 23:19 UTC (permalink / raw)
  To: linux-kernel

Hi,

I think I've found a bug in reiserfs acls. If triggered
it means that any program trying to access the partition,
where the bug occured, will just hang in D state, with
no way to kill the program.

Here's how to reproduce:
1. mount a reiserfs volume (loopmount will do) with "-o acl".
2. create a directory "dir"
3. set some default acl: setfacl -d -m u:username:rwX dir
4. cd dir
5. dd if=/dev/zero of=somefile1 bs=4k count=100000
(the idea is to run out of space)
6. now df should show 0 free space, if not then repeat 5.
7. echo "1" > somefile2 # this should hang infinitely

Now no program will be able to access the partition.

I haven't tried to reproduce it, but the same problem also happened
when a user hit his hard quota limit on my server. Then no program
could access his homedir.


PS. I'm not subscribed to lkml so please CC

--
Tarmo Tänav
tarmo@itech.ee


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

end of thread, other threads:[~2005-07-18 16:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-17 19:20 reiserfs+acl makes processes hang? Tarmo Tänav
2005-07-18 16:55 ` Jeff Mahoney
  -- strict thread matches above, loose matches on Subject: below --
2005-07-15 23:19 Tarmo Tänav
2005-07-15 23:25 ` Kasper Sandberg
2005-07-16  8:24 ` Jan Engelhardt
2005-07-16  8:46   ` Tarmo Tänav
2005-07-16 14:23     ` Jan Engelhardt

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.