diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2012-03-20 22:01:20 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-03-20 22:01:20 +0100 |
commit | 308340aa585aed1f3703e03768d2973ffff83b12 (patch) | |
tree | 956246d8aa90c724f1be3be713432e2810f1b330 /super0.c | |
parent | Use 4K buffer alignment for superblock allocations (diff) | |
download | mdadm-308340aa585aed1f3703e03768d2973ffff83b12.tar.xz mdadm-308340aa585aed1f3703e03768d2973ffff83b12.zip |
Use struct align_fd to cache fd's block size for aligned reads/writes
This uses a struct to cache the block size for aligned reads/writes,
to avoid repeated ioctl(BLKSSZGET) calls.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super0.c')
0 files changed, 0 insertions, 0 deletions