Re: [PATCH 12/35] undo-io: use a bitmap to track what we've already written

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

 



On Wed, Apr 01, 2015 at 07:35:19PM -0700, Darrick J. Wong wrote:
> It's really inefficient to (ab)use the TDB key store as a bitmap to
> find out if we've already written a block to the undo file, because
> the tdb code is reads the database key btree disk blocks for *every*
> query.  Changing that logic to a bitmap reduces overhead by a large
> margin -- the overhead of using undo_io while converting a 2TB FS to
> metadata_csum is reduced from 55 minutes to 45.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>

Thanks, applied.

					- Ted
--
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