From: Jeff Mahoney <jeffm@suse.com>
To: "Tarmo Tänav" <tarmo@itech.ee>
Cc: reiserfs-list@namesys.com
Subject: Re: reiserfs+acl makes processes hang?
Date: Mon, 18 Jul 2005 12:55:02 -0400 [thread overview]
Message-ID: <42DBDEE6.4060901@suse.com> (raw)
In-Reply-To: <1121628031.28770.3.camel@localhost>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tarmo Tänav wrote:
> 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.
>
>
Ok, this is due to the iput in the reiserfs_new_inode failure path
calling reiserfs_delete_xattrs with the lock already held.
I'll post a patch soon.
- -Jeff
- --
Jeff Mahoney
SuSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFC297mLPWxlyuTD7IRAjO6AJ4wgkdvMnHVablWE7vBL1f+nwJhSACgmG7F
icjFXLkoAIPOVUa02yR7Ys4=
=1Nkh
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2005-07-18 16:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-17 19:20 reiserfs+acl makes processes hang? Tarmo Tänav
2005-07-18 16:55 ` Jeff Mahoney [this message]
-- 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
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=42DBDEE6.4060901@suse.com \
--to=jeffm@suse.com \
--cc=reiserfs-list@namesys.com \
--cc=tarmo@itech.ee \
/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.