Re: [PATCH v4] efivars,efi-pstore: Hold off deletion of sysfs entry until the scan is completed

2013-11-11 Thread Matt Fleming
On Wed, 06 Nov, at 01:35:41PM, Tony Luck wrote: > On Wed, Nov 6, 2013 at 12:51 AM, Matt Fleming wrote: > > Tony, want me to pick this up since it touches various EFI bits? > > Since there are now no generic pstore changes - it is all in the efi > backend ... yes, > it makes sense for you to take

Re: [PATCH v4] efivars,efi-pstore: Hold off deletion of sysfs entry until the scan is completed

2013-11-11 Thread Matt Fleming
On Wed, 06 Nov, at 01:35:41PM, Tony Luck wrote: On Wed, Nov 6, 2013 at 12:51 AM, Matt Fleming m...@console-pimps.org wrote: Tony, want me to pick this up since it touches various EFI bits? Since there are now no generic pstore changes - it is all in the efi backend ... yes, it makes sense

Re: [PATCH v4] efivars,efi-pstore: Hold off deletion of sysfs entry until the scan is completed

2013-11-06 Thread Tony Luck
On Wed, Nov 6, 2013 at 12:51 AM, Matt Fleming wrote: > Tony, want me to pick this up since it touches various EFI bits? Since there are now no generic pstore changes - it is all in the efi backend ... yes, it makes sense for you to take this. Thanks [And thanks to Madper Xie for patiently

Re: [PATCH v4] efivars,efi-pstore: Hold off deletion of sysfs entry until the scan is completed

2013-11-06 Thread Matt Fleming
On Wed, 30 Oct, at 03:27:26PM, Seiji Aguchi wrote: > drivers/firmware/efi/efi-pstore.c | 143 > +++--- > drivers/firmware/efi/efivars.c| 12 ++-- > drivers/firmware/efi/vars.c | 12 +++- > include/linux/efi.h | 4 ++ > 4 files changed,

Re: [PATCH v4] efivars,efi-pstore: Hold off deletion of sysfs entry until the scan is completed

2013-11-06 Thread Matt Fleming
On Wed, 30 Oct, at 03:27:26PM, Seiji Aguchi wrote: drivers/firmware/efi/efi-pstore.c | 143 +++--- drivers/firmware/efi/efivars.c| 12 ++-- drivers/firmware/efi/vars.c | 12 +++- include/linux/efi.h | 4 ++ 4 files changed, 155

Re: [PATCH v4] efivars,efi-pstore: Hold off deletion of sysfs entry until the scan is completed

2013-11-06 Thread Tony Luck
On Wed, Nov 6, 2013 at 12:51 AM, Matt Fleming m...@console-pimps.org wrote: Tony, want me to pick this up since it touches various EFI bits? Since there are now no generic pstore changes - it is all in the efi backend ... yes, it makes sense for you to take this. Thanks [And thanks to Madper

Re: [PATCH v4] efivars,efi-pstore: Hold off deletion of sysfs entry until the scan is completed

2013-10-31 Thread Madper Xie
seiji.agu...@hds.com writes: > Change from v3: > - Introduce EFI_VARS_DATA_SIZE_MAX macro. > - Add some description why a scanning/deleting logic is needed. > > Currently, when mounting pstore file system, a read callback of efi_pstore > driver runs mutiple times as below. > > - In the first

Re: [PATCH v4] efivars,efi-pstore: Hold off deletion of sysfs entry until the scan is completed

2013-10-31 Thread Madper Xie
seiji.agu...@hds.com writes: Change from v3: - Introduce EFI_VARS_DATA_SIZE_MAX macro. - Add some description why a scanning/deleting logic is needed. Currently, when mounting pstore file system, a read callback of efi_pstore driver runs mutiple times as below. - In the first read

[PATCH v4] efivars,efi-pstore: Hold off deletion of sysfs entry until the scan is completed

2013-10-30 Thread Seiji Aguchi
Change from v3: - Introduce EFI_VARS_DATA_SIZE_MAX macro. - Add some description why a scanning/deleting logic is needed. Currently, when mounting pstore file system, a read callback of efi_pstore driver runs mutiple times as below. - In the first read callback, scan efivar_sysfs_list from head

[PATCH v4] efivars,efi-pstore: Hold off deletion of sysfs entry until the scan is completed

2013-10-30 Thread Seiji Aguchi
Change from v3: - Introduce EFI_VARS_DATA_SIZE_MAX macro. - Add some description why a scanning/deleting logic is needed. Currently, when mounting pstore file system, a read callback of efi_pstore driver runs mutiple times as below. - In the first read callback, scan efivar_sysfs_list from head