Re: EXPORT_SYMBOL(fat_get_block)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Friday, August 13, 2010 - 12:28 pm

On Fri, Aug 13, 2010 at 12:17:39PM -0700, David Cross wrote:

What exactly are the performance issues with doing this from userspace,
vs. the FAT hack?


No, there's another MTP stack already released that works just fine on
Linux.  You can find it at:
	http://wiki.meego.com/Buteo


Again, what's wrong with using the processor here?  What else does it
have to do at this point in time?


No, my point is that for larger disk sizes, you can't use FAT, you have
to use NTFS to be interoperable with other operating systems.  Your
solution will not handle that jump to larger storage sizes as you are
relying on FAT.


Yes, the pre-allocation is done in userspace, and then the data is
copied to the filesystem then.  The kernel doesn't have to have any
filesystem specific hacks in it to try to handle this at all.

Take a look at the above link for what you might want to do instead.
Because of this, I'm guessing that a lot of this code can be removed
from the driver, right?

thanks,

greg k-h
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
EXPORT_SYMBOL(fat_get_block), David Cross, (Fri Aug 13, 10:45 am)
Re: EXPORT_SYMBOL(fat_get_block), Greg KH, (Fri Aug 13, 10:54 am)
Re: EXPORT_SYMBOL(fat_get_block), Greg KH, (Fri Aug 13, 10:54 am)
Re: EXPORT_SYMBOL(fat_get_block), David Cross, (Fri Aug 13, 11:43 am)
Re: EXPORT_SYMBOL(fat_get_block), Christoph Hellwig, (Fri Aug 13, 11:50 am)
Re: EXPORT_SYMBOL(fat_get_block), Greg KH, (Fri Aug 13, 12:01 pm)
Re: EXPORT_SYMBOL(fat_get_block), David Cross, (Fri Aug 13, 12:06 pm)
Re: EXPORT_SYMBOL(fat_get_block), David Cross, (Fri Aug 13, 12:17 pm)
Re: EXPORT_SYMBOL(fat_get_block), Greg KH, (Fri Aug 13, 12:28 pm)
Re: EXPORT_SYMBOL(fat_get_block), David Cross, (Fri Aug 13, 1:32 pm)
Re: EXPORT_SYMBOL(fat_get_block), Greg KH, (Fri Aug 13, 3:17 pm)
Re: EXPORT_SYMBOL(fat_get_block), David Cross, (Fri Aug 13, 4:22 pm)
Re: EXPORT_SYMBOL(fat_get_block), Greg KH, (Fri Aug 13, 5:25 pm)
Re: EXPORT_SYMBOL(fat_get_block), David Cross, (Fri Aug 13, 6:12 pm)
Re: EXPORT_SYMBOL(fat_get_block), Greg KH, (Fri Aug 13, 8:04 pm)
RE: EXPORT_SYMBOL(fat_get_block), Nelson Zhang, (Sun Aug 15, 3:57 pm)
Re: EXPORT_SYMBOL(fat_get_block), Greg KH, (Tue Aug 17, 7:54 am)
Re: EXPORT_SYMBOL(fat_get_block), Christoph Hellwig, (Tue Aug 17, 8:40 am)
Re: EXPORT_SYMBOL(fat_get_block), Greg KH, (Tue Aug 17, 8:54 am)