Submit #2438

TRIM fixes

Added by bissont 8 months ago.

Status:New Start date:
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

This patch is to fix bugs associated with TRIM.

If trim is on as a option, display that when typing "mount".

Change post-trim ffs_blkfree_cg() to use taskqueue_swi_mp and get mp token when modifying freemap.

Make sure TRIM works with softdep. Stash a copy of that vnode's mount point in the ufs inode so that if we are using softdep, we can get access to the mount point through the faked up inode (created in freeblocks). The original mount point path (ip->i_devvp->v_mount->mnt_flag) doesn't have the mount point options.

Tim

0001-TRIM-fixes.patch (4.5 kB) bissont, 10/21/2012 09:59 pm


Related todos

Also available in: Atom PDF