Re: mmc_test: fix performance tests that go over max_blk_count

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Adrian,

On Fri, Sep 10, 2010 at 09:39:57PM +0100, Chris Ball wrote:
> My test machine (Dell m6300, Sandisk Extreme III 4GB) no longer BUG()s,
> but it's still failing all of the transfer tests:
> 
> mmc0: Test case 22. Multi-block highmem read...
> mmc0: Result: OK
> mmc0: Test case 23. Best-case read performance...
> mmc0: Result: Prepare stage failed! (-12)

Tracked this down a little farther.  mmc_test_alloc_mem() is bailing
out here:

                if (mem->cnt >= max_segs) {
                        if (page_cnt < min_page_cnt)
                                goto out_free;
                        break;
                }

with vars mem->cnt=1, max_segs=1, page_cnt=0, min_page_cnt=16.

Thanks,

-- 
Chris Ball   <cjb@xxxxxxxxxx>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux