linux/drivers/staging
wang di d81e90094a staging: lustre: mdt: add indexing option to default dir stripe
Add indexing option to default dirstripe EA. If MDT find
out the client send the create req to the wrong MDT because
of default stripeEA, it will return -EREMOTE, then client
will retrieve default stripeEA through xattr cache, and
re-create the object.

Also merged patch for LU-6341 to resolve the following problem.
Use ll_dir_getstripe to get default stripeEA in ll_new_node(),
Because ll_getxattr_common requires admin rights for retrieving
default LMVEA (because of trusted- prefix), which might cause
mkdir (from normal user) failure.

If parent does not have default stripeEA, then child should always
be in the same MDT for mkdir. Otherwise MDT should return -EREMOTE,
then client will refresh the default stripe index, and recreate
the object.

Signed-off-by: wang di <di.wang@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5523
Reviewed-on: http://review.whamcloud.com/13360
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6341
Reviewed-on: http://review.whamcloud.com/13990
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-19 10:08:22 +02:00
..
android staging: android ion/hisi: fix dependencies 2016-09-16 10:22:35 +02:00
board staging: board: line over 80 characters 2016-04-29 17:58:02 -07:00
clocking-wizard
comedi staging: comedi: Use the BIT() macro instead of left shifting 1 2016-09-16 10:27:52 +02:00
dgnc Staging: dgnc: dgnc_tty: fixed a line too long style issue 2016-09-17 23:47:12 +02:00
emxx_udc staging: emxx_udc: add braces to if-else block 2016-09-16 10:10:34 +02:00
fbtft Staging: fbtft: Use !x instead of x == NULL. 2016-09-18 12:38:27 +02:00
fsl-mc staging: fsl-mc: remove .owner field for driver 2016-09-16 10:22:35 +02:00
fwserial staging: fwserial: fix checkpatch permission warnings 2016-09-13 15:44:46 +02:00
gdm724x staging: gdm724x: Remove unnecessary blank line 2016-09-16 10:10:34 +02:00
goldfish
gs_fpgaboot staging: gs_fpgaboot: Remove FSF address from GPL notice 2016-09-16 10:10:34 +02:00
i4l staging: i4l: correct misspelled "ressources" to "resources" 2016-09-16 10:31:18 +02:00
iio Second set of iio new device support, features and cleanups for the 4.9 cycle. 2016-09-14 20:42:03 +02:00
ks7010 Staging: ks7010: Drop memory allocation cast. 2016-09-18 12:38:27 +02:00
lustre staging: lustre: mdt: add indexing option to default dir stripe 2016-09-19 10:08:22 +02:00
media staging: media: davinci_vpfe: Replace explicit NULL comparison with ! operator 2016-09-17 23:36:53 +02:00
most staging: most: hdm-dim2: monitor atx DBR space 2016-09-15 19:23:29 +02:00
mt29f_spinand staging: mt29f_spinand: set ECC algorithm explicitly 2016-05-05 23:52:04 +02:00
netlogic Staging: netlogic: Remove unused function 2016-09-16 10:10:34 +02:00
nvec
octeon Staging: octeon: ethernet-rx: fixed three redundant blank line style issues 2016-09-18 09:13:35 +02:00
octeon-usb staging: octeon-usb: correct driver name in Kconfig help text 2016-08-30 19:09:47 +02:00
olpc_dcon Revert "staging: olpc_dcon: Replace a bit shift by a use of BIT." 2016-09-18 13:09:50 +02:00
rtl8188eu staging: rtl8188eu: core: Add spaces around operators 2016-09-18 12:36:39 +02:00
rtl8192e Staging: rtl8192e: Use !x instead of x == NULL 2016-09-18 12:37:43 +02:00
rtl8192u staging: rtl8192u: do not use undefined $(TOPDIR) in Makefile 2016-09-12 12:29:27 +02:00
rtl8712 staging: rtl8712: Rename misspelt macro 2016-09-17 23:36:53 +02:00
rts5208 staging: rts5208: rtsx_chip: Add space around binary operators 2016-09-17 23:36:52 +02:00
skein staging: skein: cleanup: align code to parentheses 2016-05-03 14:07:11 -07:00
slicoss staging: slicoss: Remove unnecessary braces {} 2016-09-16 09:55:33 +02:00
sm750fb staging: sm750fb: Change 'uint32_t' to 'u32' 2016-09-16 09:49:56 +02:00
speakup speakup: Add spinlock in synth_direct_store 2016-09-12 13:13:25 +02:00
unisys staging: unisys: visorbus: cleanup include listings 2016-09-12 13:28:49 +02:00
vme drivers: staging: vme: convert to octal notation for permission bits 2016-09-17 23:36:53 +02:00
vt6655 staging: vt6655: device_main: Replace NULL comparison with !x 2016-09-18 12:41:48 +02:00
vt6656 staging: vt6656: usbpipe.c: Fix checkpatch warning 2016-08-30 19:09:47 +02:00
wilc1000 staging: wilc1000: Use sizeof type *pointer instead of sizeof type 2016-09-17 23:32:13 +02:00
wlan-ng staging: wlan-ng: Remove the typedef to the 'wlandevice' structure 2016-09-18 12:39:31 +02:00
xgifb Staging: xgifb: Compress return logic 2016-09-18 12:37:43 +02:00
Kconfig staging: Remove rtl8723au driver 2016-09-10 15:21:43 +02:00
Makefile staging: Remove rtl8723au driver 2016-09-10 15:21:43 +02:00