From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugme-daemon@bugzilla.kernel.org Subject: [Bug 12207] block reads/writes > 122880 bytes to USB tape drive gives EBUSY Date: Tue, 23 Dec 2008 06:56:05 -0800 (PST) Message-ID: <20081223145605.5AD95108043@picon.linux-foundation.org> References: Return-path: Received: from smtp1.linux-foundation.org ([140.211.169.13]:51700 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750758AbYLWO4M (ORCPT ); Tue, 23 Dec 2008 09:56:12 -0500 Received: from picon.linux-foundation.org (picon.linux-foundation.org [140.211.169.79]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id mBNEu566017097 for ; Tue, 23 Dec 2008 06:56:06 -0800 In-Reply-To: Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: linux-scsi@vger.kernel.org http://bugzilla.kernel.org/show_bug.cgi?id=12207 ------- Comment #11 from anonymous@kernel-bugs.osdl.org 2008-12-23 06:56 ------- Reply-To: James.Bottomley@HansenPartnership.com > ------- Comment #6 from stern@rowland.harvard.edu 2008-12-23 05:59 ------- > You can change the max_sectors setting through sysfs. However the last time I > looked, the block layer limited max_sectors to 512 KB or something on that > order, so you can't get too much improvement. > > Why is a limit of 120 KB unreasonably small? All it means is that you have to > use more system calls to transfer the same amount of data. Is anything wrong > with that? Tapes need large block sizes. We can accommodate both: Just check for TYPE_TAPE in the slave_configure() and bump the limit back up. Any USB tape that doesn't do large block transfers will be truly broken. James -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.