Re: [ndctl PATCH] ndctl, test: kill usage of fallocate in firmware-update.sh

2018-02-23 Thread Ross Zwisler
On Fri, Feb 23, 2018 at 01:45:40PM -0800, Dan Williams wrote: > On Fri, Feb 23, 2018 at 12:58 PM, Ross Zwisler > wrote: > > On Thu, Feb 22, 2018 at 10:59:22PM -0800, Dan Williams wrote: > >> The 'fallocate -l 196608 $image' step in the test fails when $image is > >>

Re: [ndctl PATCH] ndctl, test: kill usage of fallocate in firmware-update.sh

2018-02-23 Thread Dan Williams
On Fri, Feb 23, 2018 at 12:58 PM, Ross Zwisler wrote: > On Thu, Feb 22, 2018 at 10:59:22PM -0800, Dan Williams wrote: >> The 'fallocate -l 196608 $image' step in the test fails when $image is >> on an NFS mount. Use dd instead to create a sparse file. We do not need

Re: [ndctl PATCH] ndctl, test: kill usage of fallocate in firmware-update.sh

2018-02-23 Thread Ross Zwisler
On Thu, Feb 22, 2018 at 10:59:22PM -0800, Dan Williams wrote: > The 'fallocate -l 196608 $image' step in the test fails when $image is > on an NFS mount. Use dd instead to create a sparse file. We do not need > to allocate anything since we are only writing zeros. > > Cc: Dave Jiang

[ndctl PATCH] ndctl, test: kill usage of fallocate in firmware-update.sh

2018-02-22 Thread Dan Williams
The 'fallocate -l 196608 $image' step in the test fails when $image is on an NFS mount. Use dd instead to create a sparse file. We do not need to allocate anything since we are only writing zeros. Cc: Dave Jiang Signed-off-by: Dan Williams ---