From owner-soc-status@FreeBSD.ORG Sun Sep 8 09:56:18 2013 Return-Path: Delivered-To: soc-status@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 3263E631; Sun, 8 Sep 2013 09:56:18 +0000 (UTC) (envelope-from zxyu.core@gmail.com) Received: from mail-bk0-x22f.google.com (mail-bk0-x22f.google.com [IPv6:2a00:1450:4008:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9A7B52513; Sun, 8 Sep 2013 09:56:17 +0000 (UTC) Received: by mail-bk0-f47.google.com with SMTP id mx12so1836638bkb.20 for ; Sun, 08 Sep 2013 02:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=L5KJY23hTx4xTlngEdUi53KDFQZHFfG6fxMl1pXtlJ0=; b=ArL+NzCrRVlhCoFU7rlLby6NioQEpuLyVIOgSidhzUnRWcdEwDHc57DShiKleYO5um PSELYFVhL86OIelT1k/8AlLpjvj/uMyv4VTT1YTxpM/fts6hk28qseVkQlkNJgbKdbRN nSeaH6OdZmJqvhFDTqnmBZmnT4Dj2xhMwz3qmmA7rhIFgJSmWJ+AROgQPGvDIt4qyfs7 mIDK0NghMTKF+ov11N/YzFuMg7JZEnJMXCir7gYHL7p67yreni639G1tTRT04Go1/v4y h9lAEN7q1UIgdzNFPTL5SvHbXThJ1D9qsMLwm3QxGqGkaluIE3AluJDA+TguFqpGBDMY LfXg== MIME-Version: 1.0 X-Received: by 10.204.226.135 with SMTP id iw7mr9855133bkb.4.1378634176002; Sun, 08 Sep 2013 02:56:16 -0700 (PDT) Received: by 10.204.238.138 with HTTP; Sun, 8 Sep 2013 02:56:15 -0700 (PDT) In-Reply-To: <522B72D2.7070906@FreeBSD.org> References: <522B72D2.7070906@FreeBSD.org> Date: Sun, 8 Sep 2013 17:56:15 +0800 Message-ID: Subject: Re: Weekly report of the passed two weeks From: zhixiang yu To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Cc: soc-status@freebsd.org X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Sep 2013 09:56:18 -0000 Hi Alexander, On Sun, Sep 8, 2013 at 2:39 AM, Alexander Motin wrote: > Hi. > > For stress test I would try to create ZFS pool on the device, disable ARC > caching and run some heavy filesystem benchmark. ZFS controls disk subsystem > sanity on every read and should report you any data inconsistency in `zpool > status` output. It seems that 'zpool status' is very convenient. I'm not familiar with ZFS and never tried it before. So could you please give one detailed steps to do so? > > >> You can try it yourself ;) >> >> The ATAPI commands' support is on-going. Maybe finished by next >> weekend. I won't need the same much time as ATA because I'm more >> familiar with read/write emulation. > > > While they are not recommended for use by AHCI specification, and may be not > required to boot FreeBSD guest, I would still implement ATA PIO commands too > because they are still mandatory for any ATA device. Fortunately since AHCI > hides PIO transfer details it should be easy. > > Also, looking on the code, I think that sending any unsupported command to > the device now will cause command timeout, while it should return ABORT > error status instead. And in general make sure that you implemented all > commands support for which you announced in IDENTIFY command output. > > Also I think it would be good to make FLUSHCACHE commands not only wait for > write completion, but really call fsync() on the underlying file. That may > be important for client filesystem consistency in case of host system crash. Good idea. Will do Thanks in advance, Jisheng