Re: [PATCH 3/8] mtd: use generic helper to set max_discard_sectors

2013-05-13 Thread Artem Bityutskiy
r mmc in below link > https://lkml.org/lkml/2013/4/1/292 Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] dma: add new DMA control commands

2012-11-09 Thread Artem Bityutskiy
buffer, and then copying that to RAM. And the second part is something people sometimes do with DMA, AFAIU. If your HW supports this, sure the MTD framework can be re-worked. Or you may write your own 'mtd->_read()' / 'mtd->_write()' implementation. -- Best Regards, Artem Bit

Re: [PATCH 2/3] ext4: Context support

2012-06-22 Thread Artem Bityutskiy
ddir + stat. Besides, this stuff tend to change more often than the data, so mixing it with the data in the same eraseblock is not smart. 3. context = parent inode number for all the stuff belonging to xattrs. We do something similar in UBIFS. -- Best Regards, Artem Bityutskiy signature.asc De

Re: [PATCH 2/3] ext4: Context support

2012-06-14 Thread Artem Bityutskiy
re might not even be a guarantee that those flash devices will all > have the same characteristics. So to say that making this tuning at > mkfs time is probably not the best strategy. Good point. But we can always set the eraseblock size in the superblock to -1 which would mean "unknow

Re: [PATCH 2/3] ext4: Context support

2012-06-11 Thread Artem Bityutskiy
identifiers like "get_context()". This would hurt readability. It is fine to use it withing the UFS-specific code, but not globally withing the kernel code. I do not really have good name candidates, but even "ufscontext" is already better than just "context". Or "