From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Dunlop Subject: Re: Adding compression/checksum support for bluestore. Date: Tue, 5 Apr 2016 01:33:30 +1000 Message-ID: <20160404153330.GB25148@onthe.net.au> References: <20160401052838.GA8044@onthe.net.au> <20160401194912.GA18636@onthe.net.au> <3E46E6C9-EFD2-49BD-9862-4C46D053A8D6@sandisk.com> <20160402050505.GA23763@onthe.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from smtp1.onthe.net.au ([203.22.196.249]:46318 "EHLO smtp1.onthe.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755439AbcDDPdd (ORCPT ); Mon, 4 Apr 2016 11:33:33 -0400 Content-Disposition: inline In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Sage Weil Cc: Gregory Farnum , Allen Samuels , Igor Fedotov , ceph-devel On Sun, Apr 03, 2016 at 09:27:22AM -0400, Sage Weil wrote: > In any case, it seems like the way to proceed is to have a variable length > checksum_block_size, since we need that anyway for other reasons (e.g., > balancing minimum read size and read amplification for small IOs vs > metadata overhead). Or a selectable checksum routine (like ZFS)? If going this way, the checksum_type would determine the checksum_block_size. Chris