From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH] engines: add engine for file stat References: <925A83423110DA4D836092D40AC7A7E8085CB462@APYOKXMS108.ap.sony.com> <027dde15-1c6a-47a5-f89b-0d808d4cd1f3@kernel.dk> <56461733-2fef-6faa-ac60-2436bf7d692d@kernel.dk> From: Jens Axboe Message-ID: <613a7d9e-4a0f-1b89-128d-5da7cf4390e2@kernel.dk> Date: Wed, 22 Jan 2020 08:32:25 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit To: "Su, Friendy" , Sitsofe Wheeler Cc: fio , "Kobayashi, Kento (Sony)" List-ID: On 1/21/20 8:07 PM, Su, Friendy wrote: > This engine is to measure performance of accessing file's meta data. > This is for the actual access pattern which does not do real IO, but > just look up the file and get file's attribute. Applied, just one minor fixup: > + if (f->filetype != FIO_TYPE_FILE) { > + log_err("fio: only files are supported fallocate \n"); > + return 1; > + } Not sure where this fallocate came from, too much copy paste perhaps? -- Jens Axboe