From: | Tim Bisson <bissont@xxxxxxx> |
Date: | Sat, 23 Jul 2011 18:43:45 -0700 |
Hi, Here are the trim patches. I tried to break them up into functional units so that a review will hopefully be easier. I also added support for fdisk, so you can trim a whole device with -I, or just a partition using -u. The dependencies are pretty simple: * everything depends on 1 * 7 depends on 5 Tim ---------- 1. trim_dev_support_1.diff * enables device support for trim (scsi_da, ahci, cam, new ioctl, sysctl) 2. hammer_2.diff * enables trimming device/slice before creating new fs on it 3. rc_order_swap_3.diff * makes swapon start just after savecore 4. swap_support_4.diff * enables trimming of swap slice before it is turned on 5. online_trim_mount_option_5.diff * create new mount option -o trim 6. ufs_support_6.diff * enables trimming device/slice before create new fs on it 7. online_ufs_7.diff * enables online trimming of UFS file system. 8 fdisk_8.diff * provides trimming support with fdisk (-I or -u)
Attachment:
hammer_2.diff
Description: Binary data
Attachment:
online_trim_mount_option_5.diff
Description: Binary data
Attachment:
online_ufs_7.diff
Description: Binary data
Attachment:
rc_order_swap_3.diff
Description: Binary data
Attachment:
swap_support_4.diff
Description: Binary data
Attachment:
trim_dev_support_1.diff
Description: Binary data
Attachment:
ufs_support_6.diff
Description: Binary data
Attachment:
fdisk_8.diff
Description: Binary data