[patch 0/1] reiser4: iterate over extents in discard_atom

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

 



In this version we support all erase units (not only ones, which are powers of 2). I put a restriction 1MiB for erase units just to filter possible garbage. We can
increase this boundary, if needed.
Alignments with (bdev_discard_alignment() % s_blocksize != 0) are still unsupported.

I have added mount options to specify erase unit and alignment in bytes. This is only for debugging purposes (to emulate real situations). Usage is the following:

mount /dev/xxx -o discard,discard.unit=yyy,discard.offset=zzz /mnt

Thanks,
Edward.
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux