From owner-freebsd-fs@FreeBSD.ORG Tue Oct 15 14:06:43 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5E5B41FA for ; Tue, 15 Oct 2013 14:06:43 +0000 (UTC) (envelope-from krichy@cflinux.hu) Received: from pi.nmdps.net (pi.nmdps.net [IPv6:2a01:be00:10:201:0:80:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 2358626EF for ; Tue, 15 Oct 2013 14:06:42 +0000 (UTC) Received: from pi.nmdps.net (pi.nmdps.net [109.61.102.5]) (Authenticated sender: krichy@cflinux.hu) by pi.nmdps.net (Postfix) with ESMTPSA id 0C6D21639 for ; Tue, 15 Oct 2013 16:06:34 +0200 (CEST) Date: Tue, 15 Oct 2013 16:06:31 +0200 (CEST) From: Richard Kojedzinszky X-X-Sender: krichy@pi.nmdps.net To: freebsd-fs@freebsd.org Subject: zfs zvol fsync() Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2013 14:06:43 -0000 Dear FS devs, I run in to the problem that it seems that when a zvol is opened, and an fsync() is issued to is, nothing happens. Mainly I use a zvol to export it as an iscsi volume, and net/istgt issues fsync() to the device upon a scsi synchronize cache request. Any comments on this? Thanks in advance, Kojedzinszky Richard