login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
4
Re: [PATCH v2 1/3] block, partition: add partition_meta_info to hd_struct
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Will Drewry
Subject:
Re: [PATCH v2 1/3] block, partition: add partition_meta_info to hd_struct
Date: Wednesday, August 4, 2010 - 7:46 am
On Wed, Aug 4, 2010 at 2:57 AM, Tejun Heo <tj@kernel.org> wrote:
quoted text
> Hello, > > On 08/04/2010 04:04 AM, Will Drewry wrote: >> This changes adds a partition_meta_info struct which itself contains a >> union of structures that provide partition table specific metadata. >> >> This change leaves the union empty. The subsequent patch includes an >> implementation for CONFIG_EFI_PARTITION-based metadata. >> >> Signed-off-by: Will Drewry <wad@chromium.org> > > Generally looks good to me. > >> /* >> * add_gd_partition adds a partitions details to the devices partition >> * description. >> @@ -12,6 +13,7 @@ struct parsed_partitions { >> sector_t from; >> sector_t size; >> int flags; >> + struct partition_meta_info *info; >> } parts[DISK_MAX_PARTS]; > > But you can just embed the structure here. It's a temp data structure > to make things easier for individual partition scan code. There's no > need to save bytes.
Great - that'll simplify the code more. Thanks! --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH RFC] efi: add and expose efi_partition_by_guid
, Will Drewry
, (Mon Aug 2, 12:17 pm)
Re: [PATCH RFC] efi: add and expose efi_partition_by_guid
, David Miller
, (Mon Aug 2, 4:00 pm)
Re: [PATCH RFC] efi: add and expose efi_partition_by_guid
, Will Drewry
, (Mon Aug 2, 7:44 pm)
[PATCH RFC (alt)] efi: add efi_partition_walk and expose f ...
, Will Drewry
, (Mon Aug 2, 7:48 pm)
[PATCH v2 RFC] efi: add and expose efi_partition_by_guid
, Will Drewry
, (Mon Aug 2, 7:52 pm)
Re: [PATCH RFC] efi: add and expose efi_partition_by_guid
, Tejun Heo
, (Tue Aug 3, 9:08 am)
Re: [PATCH RFC] efi: add and expose efi_partition_by_guid
, Kay Sievers
, (Tue Aug 3, 10:17 am)
Re: [PATCH RFC] efi: add and expose efi_partition_by_guid
, Will Drewry
, (Tue Aug 3, 10:55 am)
Re: [PATCH RFC] efi: add and expose efi_partition_by_guid
, Kay Sievers
, (Tue Aug 3, 11:23 am)
Re: [PATCH v2 RFC] efi: add and expose efi_partition_by_guid
, Randy Dunlap
, (Tue Aug 3, 11:50 am)
Re: [PATCH v2 RFC] efi: add and expose efi_partition_by_guid
, Will Drewry
, (Tue Aug 3, 11:52 am)
Re: [PATCH RFC] efi: add and expose efi_partition_by_guid
, Will Drewry
, (Tue Aug 3, 11:52 am)
[PATCH 1/2] block, partition: add partition_meta_info to h ...
, Will Drewry
, (Tue Aug 3, 2:35 pm)
[PATCH 2/2] genhd, efi: add efi partition metadata to hd_s ...
, Will Drewry
, (Tue Aug 3, 2:35 pm)
Re: [PATCH 2/2] genhd, efi: add efi partition metadata to ...
, Kay Sievers
, (Tue Aug 3, 2:54 pm)
Re: [PATCH 2/2] genhd, efi: add efi partition metadata to ...
, Will Drewry
, (Tue Aug 3, 3:27 pm)
Re: [PATCH 2/2] genhd, efi: add efi partition metadata to ...
, Kay Sievers
, (Tue Aug 3, 4:13 pm)
[PATCH v2 1/3] block, partition: add partition_meta_info t ...
, Will Drewry
, (Tue Aug 3, 7:04 pm)
[PATCH v2 2/3] genhd, efi: add efi partition metadata to h ...
, Will Drewry
, (Tue Aug 3, 7:04 pm)
[PATCH 3/3] init: add support for root devices specified b ...
, Will Drewry
, (Tue Aug 3, 7:04 pm)
Re: [PATCH v2 1/3] block, partition: add partition_meta_in ...
, Tejun Heo
, (Wed Aug 4, 12:57 am)
Re: [PATCH v2 2/3] genhd, efi: add efi partition metadata ...
, Tejun Heo
, (Wed Aug 4, 12:59 am)
Re: [PATCH v2 2/3] genhd, efi: add efi partition metadata ...
, Karel Zak
, (Wed Aug 4, 2:00 am)
Re: [PATCH v2 2/3] genhd, efi: add efi partition metadata ...
, Kay Sievers
, (Wed Aug 4, 3:14 am)
Re: [PATCH 2/2] genhd, efi: add efi partition metadata to ...
, John Stoffel
, (Wed Aug 4, 7:27 am)
Re: [PATCH v2 2/3] genhd, efi: add efi partition metadata ...
, Will Drewry
, (Wed Aug 4, 7:44 am)
Re: [PATCH v2 2/3] genhd, efi: add efi partition metadata ...
, Will Drewry
, (Wed Aug 4, 7:44 am)
Re: [PATCH 2/2] genhd, efi: add efi partition metadata to ...
, Will Drewry
, (Wed Aug 4, 7:45 am)
Re: [PATCH v2 1/3] block, partition: add partition_meta_in ...
, Will Drewry
, (Wed Aug 4, 7:46 am)
Re: [PATCH 2/2] genhd, efi: add efi partition metadata to ...
, Kay Sievers
, (Wed Aug 4, 8:25 am)
Re: [PATCH v2 2/3] genhd, efi: add efi partition metadata ...
, Kay Sievers
, (Wed Aug 4, 8:28 am)
Re: [PATCH v2 2/3] genhd, efi: add efi partition metadata ...
, Will Drewry
, (Wed Aug 4, 8:56 am)
[PATCH v3 1/3] block, partition: add partition_meta_info t ...
, Will Drewry
, (Wed Aug 4, 11:22 am)
[PATCH v3 2/3] genhd, efi: add efi partition metadata to h ...
, Will Drewry
, (Wed Aug 4, 11:22 am)
[PATCH v3 3/3] init: add support for root devices specifie ...
, Will Drewry
, (Wed Aug 4, 11:22 am)
Re: [PATCH v3 3/3] init: add support for root devices spec ...
, Tejun Heo
, (Thu Aug 5, 3:55 am)
Re: [PATCH v3 3/3] init: add support for root devices spec ...
, Will Drewry
, (Thu Aug 5, 7:26 am)
Re: [PATCH v3 3/3] init: add support for root devices spec ...
, Tejun Heo
, (Thu Aug 5, 7:29 am)
Re: [PATCH v3 3/3] init: add support for root devices spec ...
, Will Drewry
, (Thu Aug 5, 12:19 pm)
Re: [PATCH v3 3/3] init: add support for root devices spec ...
, Kay Sievers
, (Thu Aug 5, 12:29 pm)
[PATCH v4 1/3] block, partition: add partition_meta_info t ...
, Will Drewry
, (Tue Aug 31, 1:47 pm)
[PATCH v4 2/3] genhd, efi: add efi partition metadata to h ...
, Will Drewry
, (Tue Aug 31, 1:47 pm)
[PATCH v4 3/3] init: add support for root devices specifie ...
, Will Drewry
, (Tue Aug 31, 1:47 pm)
Re: [PATCH v4 1/3] block, partition: add partition_meta_in ...
, Jens Axboe
, (Wed Sep 15, 7:22 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Christoph Lameter
[PATCH 1/2] Make page->private usable in compound pages V1
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Jesse Barnes
Re: PCI probing changes
git
:
Jakub Narebski
Re: GSoC 2008 - Mentors Wanted!
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Andy Parkins
git-fetch fails with error code 128
Marcus Griep
Re: [PATCH 1/3] Git.pm: Add faculties to allow temp files to be cached
Junio C Hamano
Re: [JGIT PATCH 2/2] Decrease the fetch pack client buffer to the lower minimum
git-commits-head
:
Linux Kernel Mailing List
ARM: 5970/1: nomadik-gpio: fix spinlock usage
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
linux-netdev
:
Eric Dumazet
[PATCH] net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()
Patrick McHardy
[NET_SCHED]: sch_ingress: remove netfilter support
Rose, Gregory V
RE: __bad_udelay in network driver breaks build
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
ropers
Re: Real men don't attack straw men
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate