From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:61673 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754730AbdCaPLj (ORCPT ); Fri, 31 Mar 2017 11:11:39 -0400 From: Bart Van Assche Subject: Re: [PATCH 0/3] Improve block device testing coverage Date: Fri, 31 Mar 2017 15:11:28 +0000 Message-ID: <1490973067.2587.1.camel@sandisk.com> References: <1490879944-26240-1-git-send-email-dmonakhov@openvz.org> <20170331065702.GA17435@infradead.org> <8760ip28o8.fsf@dmlp.sw.ru> <20170331093801.GK22845@eguan.usersys.redhat.com> <8737dt228x.fsf@dmlp.sw.ru> In-Reply-To: <8737dt228x.fsf@dmlp.sw.ru> Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <8F5FC0F26D4015478AAA74E87F206F83@sandisk.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: fstests-owner@vger.kernel.org To: "eguan@redhat.com" , "dmonakhov@openvz.org" Cc: "fstests@vger.kernel.org" , "hch@infradead.org" , "linux-scsi@vger.kernel.org" List-ID: On Fri, 2017-03-31 at 13:02 +0300, Dmitry Monakhov wrote: > Another good example may be a bug with dirty page cache after blkdiscard > https://lkml.org/lkml/2017/3/22/789 . This simple bug result in crappy > fsimage if mkfs relay on discard_zeroes_data behaviour. > So IMHO basic blkdev test coverage is important filesystem testing. i.e. > important for xfstests. Mixing up filesystem tests and block layer / block driver tests in the same directory is completely wrong. Block driver developers will be primarily interested in the block tests and may want to skip the filesystem tests. Filesystem developers will probably run the block tests only once and will likely run the filesystem tests repeatedly. Mixing up different kinds of tests in the same directory makes it unnecessarily hard to run block and filesystem tests separately. Bart.=