Re: [PATCH] ext4: Always journal quota file modifications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu 03-06-10 13:07:41, Dmitry Monakhov wrote:
> Jan Kara <jack@xxxxxxx> writes:
> 
> > When journaled quota options are not specified, we do writes
> > to quota files just in data=ordered mode. This actually causes
> > warnings from JBD2 about dirty journaled buffer because ext4_getblk
> > unconditionally treats a block allocated by it as metadata. Since
> > quota actually is filesystem metadata, the easiest way to get rid
> > of the warning is to always treat quota writes as metadata...
> Absolutely agree with the fix, but I have a theoretical question.
> Is is possible to solve the issue without handling quota's bh
> via ext4_handle_dirty_metadata()?
> As soon as i understand ext4_jbd2_file_inode() not works here
> because bh is belongs to blkdev page-cache. In other words is it
> possible provide ordering for blkdev's blocks in jbd2?
  You are right. It's not possible to provide ordering for blkdev's blocks
in JBD2 (unlike JBD). So a different solution would be rather problematic.

									Honza
-- 
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux