Bug 21092
Summary: | Kernel 2.6.36 Bug during quotaon on reiserfs | ||
---|---|---|---|
Product: | File System | Reporter: | markus.gapp |
Component: | ReiserFS | Assignee: | ReiseFS developers team (reiserfs-devel) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | florian, jack, rjw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.36 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 16444 | ||
Attachments: | Patch fixing locking in reiserfs_quota_on() |
Description
markus.gapp
2010-10-24 16:57:08 UTC
This looks like a fallout of the BKL conversion in reiserfs. After the conversion, it is expected that reiserfs_unpack will be called with write_lock held but that's not the case for the call from reiserfs_quota_on. The easiest is probably to just acquire write_lock before calling reiserfs_unpack. The attached patch does this and don't see the BUG with it. Created attachment 35292 [details]
Patch fixing locking in reiserfs_quota_on()
Could you please try whether this patch fixes the issue? Thanks.
@Jan Kara: Your patch fixes the issue for me. Thank you very much! Markus Handled-By : Jan Kara <jack@suse.cz> On Thursday, January 06, 2011, Jan Kara wrote:
> Hi,
>
> On Thu 30-12-10 00:21:21, Rafael J. Wysocki wrote:
> > This message has been generated automatically as a part of a report
> > of regressions introduced between 2.6.35 and 2.6.36.
> >
> > The following bug entry is on the current list of known regressions
> > introduced between 2.6.35 and 2.6.36. Please verify if it still should
> > be listed and let the tracking team know (either way).
> >
> As far as I know, the problem has been fixed by commit
> da905873effecd1c0166e578bc4b5006f041b18b in the end.
|