Re: Barriers

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

 



  Hi,

On Mon 13-05-13 07:54:48, Sidorov, Andrei wrote:
> I'm curious if anyone ever tried fua-only jbd? If done with fua's, there
> will be no cache flushes at all, thus no occasional spikes. NCQ fua
> journalling is potentially more efficient than cache flush.
  If you have such HW, it may be an interesting thing to try.

> I know, stale data will be unavoidable (however unlikely) in fua-based
> implementation. It is a compromise between ordered,nobarrier (fs
> corruption is likely to happen upon power loss) and ordered,barrier (no
> fs corruption).
  Well, it will achieve guarantees of barrier,data=writeback mode.

> Any advise on what kind of workload to test?
  Not really...

> What about having single journal per device as opposed to partition/fs?
> What I've found of quick look at jbd2 code, it doesn't seem to be a
> problem to set up single journal for several filesystems on the same device.
> This will give an advantage of single commit per commit interval as
> opposed to several commits per likely to be same interval.
  Yes, that should be relatively easily possible and might be interesting
for other usecases as well (e.g. when you want to utilize one fast device
for the journal and use it for several slow disks).

								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