Re: Writing to USB3 memory stick with 4.4 is 52 times slower than Win7 inside virtualbox

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

 



On Sun, Feb 07, 2016 at 06:11:22PM -0800, Greg Kroah-Hartman wrote:
> I think you are going to get the same reaction from them, as they are
> going to point to the block layer above them that sends all of the data
> to them.
> 
> Then the block layer is going to point to the file system, and they are
> going to point to the vfs layer :)
> 
> So where you were to try to implement something like this, I don't know,
> I think Alan's original statement of "do it in userspace" makes the most
> sense.  That way it works for any type of device, on any type of
> filesystem, with no kernel changes needed at all.
> 
> sorry, the kernel is just the "dumb" pass-through here...

I understand the candid answer, I'd rather that than waste my and other
people's time :)
That said, as explained in the previous message, userspace is very
unlikely to happen too for the reasons I already gave, and the many
different programs that would have to be fixed, so I'm just going to
give up on a solution that will work for all and do my own hacks to fix
my own problem.
Probably a hack that will run sync(1) in a shell while loop every few
seconds when a usb flash device is mounted, and not otherwise. Gross,
but it should work.

Thanks all.
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux