From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754587AbbJGOm7 (ORCPT ); Wed, 7 Oct 2015 10:42:59 -0400 Received: from mail-lb0-f177.google.com ([209.85.217.177]:33986 "EHLO mail-lb0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754189AbbJGOm5 (ORCPT ); Wed, 7 Oct 2015 10:42:57 -0400 Date: Wed, 7 Oct 2015 17:42:53 +0300 From: Mike Krinkin To: linux-kernel@vger.kernel.org Cc: axboe@kernel.dk, hch@lst.de, kmo@daterainc.com, dmonakhov@openvz.org Subject: submit bio directly from userspace Message-ID: <20151007144253.GA26518@kmu-tp-x230> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, i'm developing block layer workload simulator/player and need to generate bios as close as possible to the ones in original workload. To play workload i employ aio + O_DIRECT, but all IOs end up as bios with SYNC flag set. So i wonder is there any way to control bios flags from userspace or, maybe, any other options to generate workload from userspace except aio + O_DIRECT with more precise control over bio flags?