From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: [PATCH] Add block device speciffic splice write method Date: Mon, 20 Oct 2008 19:49:32 +0200 Message-ID: <20081020174931.GH19428@kernel.dk> References: <1224424858-3927-1-git-send-email-dmonakhov@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Dmitri Monakhov Return-path: Content-Disposition: inline In-Reply-To: <1224424858-3927-1-git-send-email-dmonakhov@openvz.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sun, Oct 19 2008, Dmitri Monakhov wrote: > Block device write procedure is different from regular file: > - Actual write performed without i_mutex. > - It has no metadata, so generic_osync_inode(O_SYNCMETEDATA) can not livelock. > - We do not have to worry about S_ISUID/S_ISGID bits. I already did an O_DIRECT part of block device splicing [1], I'll fold this into the splice branch and double check with some testing. [1] http://git.kernel.dk/?p=linux-2.6-block.git;a=commitdiff;h=fbb724a0484aba938024d41ca1dd86337d2550c9;hp=08c7910b275a4c580ad646ae8654439c8dfae4c5 -- Jens Axboe