Re: [PATCH] sys/block: Add discard_support entry

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

 



>>>>> "Lukas" == Lukas Czerner <lczerner@xxxxxxxxxx> writes:

Lukas> Currently there is no convenient way how to get the information
Lukas> from userspace whether or not the block device supports discard
Lukas> other than try to call BLKDISCARD ioctl and check the result,
Lukas> which is not really good way to do it.

Not true. If discard_max_bytes is > 0 then discard is supported.

-- 
Martin K. Petersen	Oracle Linux Engineering
--
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