Fix for QOS preemption and shared partition

Fix for bug 1320