From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751567AbaDABRt (ORCPT ); Mon, 31 Mar 2014 21:17:49 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:16892 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750946AbaDABRr (ORCPT ); Mon, 31 Mar 2014 21:17:47 -0400 X-IronPort-AV: E=Sophos;i="4.97,769,1389715200"; d="scan'208";a="9803551" Message-ID: <1396314824.20427.1.camel@localhost.localdomain> Subject: Re: [PATCH] lib: add size unit t/p/e to memparse From: Gui Hecheng To: Brendan Hide Cc: linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org Date: Tue, 01 Apr 2014 09:13:44 +0800 In-Reply-To: <53394EC0.8020007@swiftspirit.co.za> References: <1396260185-14109-1-git-send-email-guihc.fnst@cn.fujitsu.com> <53394EC0.8020007@swiftspirit.co.za> X-Mailer: Evolution 3.6.4 (3.6.4-3.fc18) Mime-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2014/04/01 09:14:26, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2014/04/01 09:14:27, Serialize complete at 2014/04/01 09:14:27 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2014-03-31 at 13:17 +0200, Brendan Hide wrote: > On 31/03/14 12:03, Gui Hecheng wrote: > > - * potentially suffixed with %K (for kilobytes, or 1024 bytes), > > - * %M (for megabytes, or 1048576 bytes), or %G (for gigabytes, or > > - * 1073741824). If the number is suffixed with K, M, or G, then > > + * potentially suffixed with > > + * %K (for kilobytes, or 1024 bytes), > > + * %M (for megabytes, or 1048576 bytes), > > + * %G (for gigabytes, or 1073741824), > > + * %T (for terabytes, or 1099511627776), > > + * %P (for petabytes, or 1125899906842624 bytes), > > + * %E (for exabytes, or 1152921504606846976 bytes). > > My apologies, I should have noticed this in your earlier mail. This > could be updated to specifically refer to the "bi"nary prefixes rather > than the old SI-conflicting names: > kibibyte, mebibyte, gibibyte, tebibyte, pebibyte, and exbibyte Yes, indeed, I will send a V2. Thanks! -Gui