Home
last modified time | relevance | path

Searched hist:"86 b37281411cf1e9bc0a6b5406c45edb7bd9ea5d" (Results 1 – 4 of 4) sorted by relevance

/linux/block/
H A Dblk-settings.cdiff b568be627a7270eba575bc4406a606e1545f91bb Wed Dec 16 09:16:41 CET 2009 Jens Axboe <jens.axboe@oracle.com> block: temporarily disable discard granularity

Commit 86b37281411cf1e9bc0a6b5406c45edb7bd9ea5d adds a check for
misaligned stacking offsets, but it's buggy since the defaults are 0.
Hence all dm devices that pass in a non-zero starting offset will
be marked as misaligned amd dm will complain.

A real fix is coming, in the mean time disable the discard granularity
check so that users don't worry about dm reporting about misaligned
devices.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff 86b37281411cf1e9bc0a6b5406c45edb7bd9ea5d Tue Nov 10 11:50:21 CET 2009 Martin K. Petersen <martin.petersen@oracle.com> block: Expose discard granularity

While SSDs track block usage on a per-sector basis, RAID arrays often
have allocation blocks that are bigger. Allow the discard granularity
and alignment to be set and teach the topology stacking logic how to
handle them.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
H A Dblk-sysfs.cdiff 86b37281411cf1e9bc0a6b5406c45edb7bd9ea5d Tue Nov 10 11:50:21 CET 2009 Martin K. Petersen <martin.petersen@oracle.com> block: Expose discard granularity

While SSDs track block usage on a per-sector basis, RAID arrays often
have allocation blocks that are bigger. Allow the discard granularity
and alignment to be set and teach the topology stacking logic how to
handle them.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
H A Dgenhd.cdiff 86b37281411cf1e9bc0a6b5406c45edb7bd9ea5d Tue Nov 10 11:50:21 CET 2009 Martin K. Petersen <martin.petersen@oracle.com> block: Expose discard granularity

While SSDs track block usage on a per-sector basis, RAID arrays often
have allocation blocks that are bigger. Allow the discard granularity
and alignment to be set and teach the topology stacking logic how to
handle them.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/linux/include/linux/
H A Dblkdev.hdiff 86b37281411cf1e9bc0a6b5406c45edb7bd9ea5d Tue Nov 10 11:50:21 CET 2009 Martin K. Petersen <martin.petersen@oracle.com> block: Expose discard granularity

While SSDs track block usage on a per-sector basis, RAID arrays often
have allocation blocks that are bigger. Allow the discard granularity
and alignment to be set and teach the topology stacking logic how to
handle them.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>