OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> writes: >> On Thu, 2008-08-07 at 02:14 +0900, OGAWA Hirofumi wrote: >>> Ah, blkdev_issue_discard() assumes blocksize is 512bytes, um... >> >> Doesn't everything? I did consider using q->hardsect_size, but decided >> that was probably the wrong thing to do. I don't know. Jens? > > My point is fs-blocksize vs hard sector size. > > In FAT patch, it's passing the number of fs-blocks, not number of hard > sectors. Ah, bio->bi_sector has same issue too. -- OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html