Re: [PATCH 2/5] [FAT] Let the block device know when sectors can be discarded

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

 



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

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux