Whamcloud - gitweb
LU-3050 quota: amend sync write checking from 1.8 client
authorNiu Yawei <yawei.niu@intel.com>
Wed, 3 Apr 2013 12:04:21 +0000 (08:04 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 9 Apr 2013 03:20:00 +0000 (23:20 -0400)
commitc20047193c2bc268e5c0782f4fed8d10525c1008
tree4a1c460e6589ff7c2321202e750b0637fc63ad00
parent4c0564ce3e31dd6ef3d6f408210a6c8c464cb6a4
LU-3050 quota: amend sync write checking from 1.8 client

The 1.8 client sync write doesn't carry OBD_BRW_SYNC flag, to
interoperate with 1.8 client, the checking for sync write on OST
should be amended accordingly.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I4179c4878d295dae625f5631b6b02f3b4dd32cb6
Reviewed-on: http://review.whamcloud.com/5928
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/osd-ldiskfs/osd_io.c
lustre/osd-zfs/osd_io.c